# 为主站（www.example.com）设置 discourse，而不是在子域上

**URL:** <https://meta.discourse.org/t/setup-discourse-for-the-main-site-www-example-com-not-on-a-subdomain/205253>\
**Category:** Support\
**Created:** [2021 年10 月 5 日 12:08 UTC](https://meta.discourse.org/t/setup-discourse-for-the-main-site-www-example-com-not-on-a-subdomain/205253 "2021-10-05T12:08:40Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

作者： ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)\
发布日期： [2021 年10 月 5 日 13:29 UTC](https://meta.discourse.org/t/setup-discourse-for-the-main-site-www-example-com-not-on-a-subdomain/205253/7 "2021-10-05T13:29:45Z")

</div>

如果您将 DNS 记录设置为将两个 A 记录都指向 Discourse，那么这是可行的。

---

_[View the full topic](https://meta.discourse.org/t/setup-discourse-for-the-main-site-www-example-com-not-on-a-subdomain/205253)._
