Most hosted discourse instances are on a subdomain:
This is our general recommendation in almost all cases, and it works great. However, if you wish to use a root domain or apex domain for your hosted discourse, like so
this turns out to be surprisingly difficult in a hosting scenario, due to the vagaries of how DNS works.
It is possible, however, you must use a DNS provider that specifically supports it!
Here is a list of known-compatible DNS providers, the name of the DNS type that you should use, and a link to their docs.
|CloudFlare||CNAME flattening · Cloudflare DNS docs|
|DNS Made Easy||ANAME|
|Webcentral (formerly Netregistry)||Cloaked Redirection (IPv4 only)|
If your DNS provider is not one of the above, you must switch to one of these DNS providers to achieve an apex domain or root domain hosted discourse.
If you try/test out another DNS provider and it works for you, do reply here with the name of the DNS provider, and a link that explains how they set it up, so we can update our list. There are a lot of DNS providers, so we update the list as we find, this list is by no way a one-stop-list of every DNS provider in the world that supports this.
Last Reviewed by @AlexDev on 2022-07-12T01:00:00Z