How to setup multiple instances on one server?
I’ll like to setup forums for three different communities but want to do so using just one server. Did not find this in the installation instructions. Will like to know where to start. I’ll do a pull request to the installation instructions when I get it to work so others can benefit as well.
- 4 replies
- KajMagnus @KajMagnus2018-08-09 14:51:09.405Z
Preliminary docs. These are the relevant config values. And maybe there's some typo below — can you please wait with trying this?, until I've tested myself, maybe tomorrow or during the weekend. Then I'll notify you when i know this works. I'm posting this now anyway, though, in case you're curious, or maybe you want to have a look and ask something.
## This is the main website. Here you can login as super admin, to view events from all your sites hosted by that server. talkyard.hostname="talkyard.yourdomain.com" ## To become owner of the main website, during installation. talkyard.becomeOwnerEmailAddress="email@example.com" ## When you create new forums, they will be placed at this domain, ## example: the-2nd-forum.yourdomain.com ## Consider getting a wildcard cert from Let'sEncrypt. talkyard.baseDomain="yourdomain.com" ## When you configure Google OpenAuth apps, you currently do that only once ## for all forums on the whole server. People get redirected to this address, ## for logging in: ## (You can leave it commented out — then, the `talkyard.hostname` setting gets used instead.) # talkyard.loginOrigin="https://talkyard.yourdomain.com" ## To create new forums, people need to go to the below address, ## and url pathname /-/create-site ## example: http(s)://talkyard.yourdomain.com/-/create-site talkyard.createSiteHostname="talkyard.yourdomain.com" ## To create a *test* site, they need to go to this address: ## and url pathname /-/create-test-site ## example: http(s)://talkyard.yourdomain.com/-/create-test-site #talkyard.createTestSiteHostname="talkyard.yourdomain.com" #talkyard.superAdmin.emailAddresses="firstname.lastname@example.org"
- KajMagnus @KajMagnus2018-08-11 07:59:54.065Z
Sorry I've been occupied writing docs about HTTPS.
HTTPS is something you will want to configure, for your forums? And parts of the HTTPS docs are about many forums on the same server. So maybe you'd like to have a look at the HTTPS docs? Maybe try to follow those docs and enable HTTPS for your first forum?
Then you can have a look here: https://www.talkyard.io/-104#post-9