# 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:** 3

<div class="post-metadata">

**Author:** ![agf1997](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@agf1997](https://meta.discourse.org/u/agf1997)\
**Post date:** [May 25, 2023, 6:32pm UTC](https://meta.discourse.org/t/dns-question/266235/3 "2023-05-25T18:32:42Z")

</div>

> [@supermathie](#):
>
> Or, you can CNAME your community hostname to the apex domain name.

So the A record for `example.com` would point to the IP of the discourse server and the CNAME would have `community.example.com` be an alias of `example.com`?

Wouldn’t that put the discourse server at [example.com](http://example.com)? Sorry just trying to get this straight in my brain

---

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