# 已有 Web 服务器时如何设置子域名，需要帮助

**URL:** <https://meta.discourse.org/t/need-some-assistance-for-setting-up-a-subdomain-when-there-is-already-a-webserver/107639>\
**Category:** Self-hosting\
**Created:** [2019 年1 月 27 日 09:45 UTC](https://meta.discourse.org/t/need-some-assistance-for-setting-up-a-subdomain-when-there-is-already-a-webserver/107639 "2019-01-27T09:45:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
发布日期： [2019 年1 月 27 日 10:22 UTC](https://meta.discourse.org/t/need-some-assistance-for-setting-up-a-subdomain-when-there-is-already-a-webserver/107639/4 "2019-01-27T10:22:28Z")

</div>

You’re putting yourself in a very complex territory.

What I can suggest is to run discourse on a subdomain or in a subdirectory.

---

_[View the full topic](https://meta.discourse.org/t/need-some-assistance-for-setting-up-a-subdomain-when-there-is-already-a-webserver/107639)._
