# Setting up Discourse on a machine with existing Nginx

**URL:** <https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869>\
**Category:** Self-hosting\
**Created:** [July 2, 2019, 8:57am UTC](https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869 "2019-07-02T08:57:46Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![thsnyzkn](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@thsnyzkn](https://meta.discourse.org/u/thsnyzkn)\
**Post date:** [July 2, 2019, 8:57am UTC](https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869/1 "2019-07-02T08:57:46Z")

</div>

I have a dedicated server that runs my website using Nginx. I am trying to follow the linked guide([discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)), but once I run ./discourse-setup command, it stopped and displayed a message that guides me to a link([Run other websites on the same machine as Discourse](https://meta.discourse.org/t/17247)), but in this link, it is stated that I need to edit my app.yml file, but it is not exist, because setup command failed to start.  
[discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)

---

_[View the full topic](https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869)._
