# 已有 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:** 1

<div class="post-metadata">

作者： ![MayusYT](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mayusyt/32/154210_2.png) [@MayusYT](https://meta.discourse.org/u/MayusYT)\
发布日期： [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/1 "2019-01-27T09:45:20Z")

</div>

Hi!

I just bought a domain at [Namecheap.com](http://Namecheap.com).  
I have a server with just one IP and I would like to run Discourse on the port 8080 as 80 is already occupied by my website.  
When I want to setup an A record for discourse with the port 8080, namecheap says that it’s not a valid IP adress.

 ![Capture](https://global.discourse-cdn.com/meta/original/3X/a/f/af2d2b0fbe45eea48b3db5de3a0ab44b48ba1aa6.png)

Any help is highly appreciated!

---

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