fefrei
(Felix Freiberger)
May 13, 2017, 11:17am
2
This takes a few steps, but there’s a good tutorial here:
This guide is for self-hosted Discourse instances that were installed using our installation guide on GitHub . If you are hosted by Discourse , please see Configure your domain name for hosted Discourse for specific instructions.
You may eventually want to change the domain name of your Discourse instance, from say
=BEFORE= → =AFTER=
Let’s get started.
Set the TTL for your DNS low, and in advance
You need to let everyone know that the domain is about to change, so change the TTL f…
If you want this to run on a separate server, that’s fine – in that case, this isn’t Discourse-specific. You can also host this on the same server, in that case, this tutorial is relevant to get you started:
@pfaffman edited this heavily 2022.02.24. Blame me if it’s broken.
If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container.
NOTE: This is for advanced admins
This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working.
You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will …
5 Likes