# DNS question

**URL:** https://meta.discourse.org/t/dns-question/266235
**Category:** Self-hosting
**Created:** [May 25, 2023, 5:00pm UTC](https://meta.discourse.org/t/dns-question/266235 "2023-05-25T17:00:53Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [May 25, 2023, 5:12pm UTC](https://meta.discourse.org/t/dns-question/266235/2 "2023-05-25T17:12:36Z")

</div>

> [@agf1997](#):
>
> I was initially thinking that I should setup a CNAME that points from the root to the subdomain, but digital ocean doesn’t seem to let me do that.

It’s correct; this would break DNS.

A [provider that supports CNAME flattening](https://meta.discourse.org/t/configure-your-hosted-discourse-site-to-run-at-the-root-or-apex-domain-e-g-example-com/60951) (essentially, doing the A/AAAA records automatically) would make this work though.

Or, you can CNAME your community hostname to the apex domain name.

---

_[View the full topic](https://meta.discourse.org/t/dns-question/266235)._
