# I can't set a CNAME for a root domain with hosting

**URL:** <https://meta.discourse.org/t/i-cant-set-a-cname-for-a-root-domain-with-hosting/27667>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [Abril 16, 2015, 10:06pm UTC](https://meta.discourse.org/t/i-cant-set-a-cname-for-a-root-domain-with-hosting/27667 "2015-04-16T22:06:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [Abril 17, 2015, 3:09am UTC](https://meta.discourse.org/t/i-cant-set-a-cname-for-a-root-domain-with-hosting/27667/5 "2015-04-17T03:09:36Z")

</div>

Sam pointed out this article:

> **[Introducing CNAME Flattening: RFC-Compliant CNAMEs at a Domain's Root](https://blog.cloudflare.com/introducing-cname-flattening-rfc-compliant-cnames-at-a-domains-root/)**
>
> This post is about a new feature we've been quietly rolling out over the last few months. Last week we began enabling it for everyone by default.

So perhaps if you truly need Discourse at a root domain, you must switch to CloudFlare for your DNS. As long as we are avoiding mapping an IP address, that is fine.

---

_[View the full topic](https://meta.discourse.org/t/i-cant-set-a-cname-for-a-root-domain-with-hosting/27667)._
