Issue with CNAME record for root domain naijahub.co - Hostname not permitted

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:

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:

  1. Is my CNAME configuration correct for a root domain?
  2. Should I be using CNAME Flattening or another Cloudflare feature?
  3. 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.