# Discourse installed on subdomain but not working

**URL:** https://meta.discourse.org/t/discourse-installed-on-subdomain-but-not-working/206439
**Category:** Self-hosting
**Created:** [October 19, 2021, 2:23pm UTC](https://meta.discourse.org/t/discourse-installed-on-subdomain-but-not-working/206439 "2021-10-19T14:23:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Phenix1997](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/phenix1997/32/237158_2.png) [@Phenix1997](https://meta.discourse.org/u/Phenix1997)
#### Post date: [October 19, 2021, 2:23pm UTC](https://meta.discourse.org/t/discourse-installed-on-subdomain-but-not-working/206439/1 "2021-10-19T14:23:58Z")

</div>

I install new discourse app on my subdomain, I changed the ! port, added subdomain to **DNS** record

 ![apps not working](https://global.discourse-cdn.com/meta/original/3X/1/0/103133d3081659336586eae9df5453ec78022937.png)  
`Nothing to do , your container has already started` , my subdomain url  
:[https://forum.ongurutips.com](https://forum.ongurutips.com) but not working, show NGNIX page  
 ![erros](https://global.discourse-cdn.com/meta/original/3X/c/9/c96af761debf9976b7cd7a627056b6581be8560c.png)  
I installed ghost on main domain and discourse on _subdomain_ on the same **vps** server, **ubuntu version**  
 ![vultre](https://global.discourse-cdn.com/meta/original/3X/9/b/9ba14569c3ec23be0461904387a562707eb74e80.png)  
any suggestions

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [October 19, 2021, 2:27pm UTC](https://meta.discourse.org/t/discourse-installed-on-subdomain-but-not-working/206439/2 "2021-10-19T14:27:13Z")

</div>

[https://forum.ongurutips.com](https://forum.ongurutips.com) does not point to a discourse instance

your A record for Forum should point to your discourse instance

---

<div class="post-metadata">

### Author: ![Phenix1997](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/phenix1997/32/237158_2.png) [@Phenix1997](https://meta.discourse.org/u/Phenix1997)
#### Post date: [October 19, 2021, 2:28pm UTC](https://meta.discourse.org/t/discourse-installed-on-subdomain-but-not-working/206439/3 "2021-10-19T14:28:33Z")

</div>

can you help me?  
any details or command

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [October 19, 2021, 2:29pm UTC](https://meta.discourse.org/t/discourse-installed-on-subdomain-but-not-working/206439/4 "2021-10-19T14:29:30Z")

</div>

what you are looking for is something like below

> [@Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247):
>
> @pfaffman edited this heavily 2022.02.24. Blame me if it’s broken. If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container. NOTE: This is for advanced admins This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working. You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will…

---

<div class="post-metadata">

### Author: ![Phenix1997](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/phenix1997/32/237158_2.png) [@Phenix1997](https://meta.discourse.org/u/Phenix1997)
#### Post date: [October 19, 2021, 3:56pm UTC](https://meta.discourse.org/t/discourse-installed-on-subdomain-but-not-working/206439/5 "2021-10-19T15:56:58Z")

</div>

thanks, I create new server
