Hello,
I’m trying to connect my Discourse forum to my custom domain that’s managed through Cloudflare.
I’ve set up a CNAME record in Cloudflare with:
- Type: CNAME
- Target: naijahub.hosted-by-discourse.com
- Proxy status: DNS only (gray cloud)
- TTL: Auto
However, when trying to configure this in Discourse, I’m receiving a “Hostname not permitted” error even though Discourse recognizes that the site is pointing to my domain.
Could you please help me understand:
- Is my CNAME configuration correct for a root domain?
- Should I be using CNAME Flattening or another Cloudflare feature?
- Are there any DNS propagation issues or additional settings I need to configure?
I’ve attached screenshots of both my Cloudflare DNS settings and the Discourse error for reference.
Thank you for your assistance.