This guide explains how to configure a hosted Discourse site to run at the root or apex domain (for example,
example.cominstead offorum.example.com). The general process for changing your site’s domain name is covered in the guide for configuring your domain name for hosted Discourse.
Required user level: Administrator
Most hosted Discourse sites run on a subdomain, such as forum.example.com, talk.example.com, or www.example.com. This is the recommended setup, and in almost all cases it works without issue.
Running your site at the root or apex domain (for example, example.com) is possible, but it’s more difficult in a hosted scenario, because of the way DNS works for root domains. This option is available on the Pro, Business, and Enterprise plans. On the Free plan, custom domains aren’t available, and your site stays on its discourse.group address.
Two things are required to run your site at a root or apex domain:
- Your DNS provider must support one of the record types listed below (a regular CNAME record is not enough at the root).
- The final configuration is completed by the Discourse team, because the Change Domain Name button in your admin dashboard checks for a CNAME record and can’t process an apex or root domain.
Configure your DNS provider
- Check that your DNS provider supports a record type for the root domain. If your provider isn’t listed below, you must switch to one of these providers first.
- Create the record described for your provider, following the link in the table for details.
- Contact the Discourse team at
team@discourse.orgto complete the root domain name change, once your DNS record is in place.
DNS providers that support root or apex domains
| Provider | Type |
|---|---|
| AWS Route53 (AWS only[1]) | A & AAAA ALIAS records; click for example → |
| Cloudflare | CNAME flattening. Turn off the Cloudflare proxy (the cloud icon must be gray) so it doesn’t interfere with the site |
| DNSimple | ALIAS |
| DNS Made Easy | ANAME |
| DreamHost | ALIAS |
| easyDNS | ANAME |
| Gandi | ALIAS |
| Hurricane Electric | ALIAS |
| Name.com | ANAME |
| Namecheap | ALIAS |
| PointDNS | ALIAS |
| Webcentral (formerly Netregistry) | Cloaked redirection (IPv4 only) |
If your DNS provider is not listed above, switch to one that supports a root or apex record type before continuing. A regular CNAME record won’t work at the root domain.
If you test a DNS provider that isn’t listed here and it works for your site, reply to this topic with the provider’s name and a link that explains how to set it up, so the list can be updated.
-
this only works if you are self-hosted in AWS or on our AWS Enterprise Hosting ↩︎
Last edited by @dax 2026-09-17T19:26:49Z
Last checked by @MarkDoerr 2026-02-11T01:10:30Z
Check document
Perform check on document: