# How to Install Discourse on Ubuntu

**URL:** https://meta.discourse.org/t/how-to-install-discourse-on-ubuntu/283662
**Category:** Self-hosting
**Created:** [October 27, 2023, 11:10am UTC](https://meta.discourse.org/t/how-to-install-discourse-on-ubuntu/283662 "2023-10-27T11:10:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Bra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bra/32/336045_2.png) [@Bra](https://meta.discourse.org/u/Bra)
#### Post date: [October 27, 2023, 11:10am UTC](https://meta.discourse.org/t/how-to-install-discourse-on-ubuntu/283662/1 "2023-10-27T11:10:50Z")

</div>

Hi. Because there is nowere any Guid or Tutorial how to install this software on Ubuntu, I need to ask how.

I tryd Docker. With Nginx. Doesn’t work.  
No configs.  
The Configuration I made (app.yml) dissapears. Now I have no more configs left… why is that?!

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [October 27, 2023, 11:13am UTC](https://meta.discourse.org/t/how-to-install-discourse-on-ubuntu/283662/2 "2023-10-27T11:13:49Z")

</div>

Hi @Bra welcome to Discourse Meta 👋 🙂

Are you installing for production or a local test and development instance?

---

<div class="post-metadata">

### Author: ![Bra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bra/32/336045_2.png) [@Bra](https://meta.discourse.org/u/Bra)
#### Post date: [October 27, 2023, 12:50pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-ubuntu/283662/3 "2023-10-27T12:50:26Z")

</div>

Hello @Lilly Thank you.  
First of all I want a development instance on my own vps as a showcase if it can be used for our company.

I configured the app.yml on port 444 and 81

The website should be accessible by subdomain. I configured everything according to the guide. But when I enter I get 504 error but it comes from my nginx service not from the docker.

When I type netstat -plant | grep 444 it looks good.  
tcp 0 0 0.0.0.0:444 0.0.0.0:\* LISTEN 30239/docker-proxy  
tcp6 0 0 :::444 :::\* LISTEN 30245/docker-proxy

but I get no connection when I stop my own nginx. How do I fix the nginx in the container?

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [October 27, 2023, 2:45pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-ubuntu/283662/4 "2023-10-27T14:45:21Z")

</div>

did you use a [standard install](https://meta.discourse.org/t/142537?silent=true)?
