# 网站用IP能打开，但子域名不行

**URL:** <https://meta.discourse.org/t/site-loads-on-ip-but-not-on-subdomain/273816>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2023 年8 月 3 日 12:36 UTC](https://meta.discourse.org/t/site-loads-on-ip-but-not-on-subdomain/273816 "2023-08-03T12:36:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![Jacob\_Peebles](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jacob_peebles/32/168161_2.png) [@Jacob\_Peebles](https://meta.discourse.org/u/Jacob_Peebles)\
发布日期： [2023 年8 月 3 日 12:36 UTC](https://meta.discourse.org/t/site-loads-on-ip-but-not-on-subdomain/273816/1 "2023-08-03T12:36:56Z")

</div>

您好，

我在这里设置了 Bitnami Discourse，地址是 [http://34.139.129.190/，并在](http://34.139.129.190/%EF%BC%8C%E5%B9%B6%E5%9C%A8) GCP 上添加了一个 A 记录指向 [forum.employ.com](http://forum.employ.com)。

但不幸的是，子域名似乎一直在加载，但 IP 地址可以正常加载。我哪里做错了？

谢谢，

Jake

---

_[View the full topic](https://meta.discourse.org/t/site-loads-on-ip-but-not-on-subdomain/273816)._
