# 是否可以在已用于其他托管的域名上安装 Discourse？

**URL:** <https://meta.discourse.org/t/is-it-possible-to-install-discourse-on-a-domain-already-in-use-on-another-hosting/156156>\
**Category:** Self-hosting\
**Created:** [2020 年6 月 28 日 08:23 UTC](https://meta.discourse.org/t/is-it-possible-to-install-discourse-on-a-domain-already-in-use-on-another-hosting/156156 "2020-06-28T08:23:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![ashishprajapati](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ashishprajapati/32/179871_2.png) [@ashishprajapati](https://meta.discourse.org/u/ashishprajapati)\
发布日期： [2020 年6 月 28 日 09:18 UTC](https://meta.discourse.org/t/is-it-possible-to-install-discourse-on-a-domain-already-in-use-on-another-hosting/156156/2 "2020-06-28T09:18:11Z")

</div>

在您已用于其他托管平台的新托管服务上，系统不允许您使用根域名。

显然，您无法在两个地方使用同一个根域名 🙂

请创建一个新子域名，并将您的新服务器/托管 IP 映射到该子域名，这样就能满足您的需求。简单来说，您只需在 DNS 设置中添加一条新的 A 记录（例如“forum”），并将托管 IP 填入即可。

这样，您就可以在子域名 URL `forum.example.com` 上托管您的 Discourse 论坛。

（这样一来，您无需移动任何内容，只需在 DNS 设置中添加一条额外记录即可。）

🙂

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-install-discourse-on-a-domain-already-in-use-on-another-hosting/156156)._
