# Setting up Discourse on a VPS with other sites

**URL:** <https://meta.discourse.org/t/setting-up-discourse-on-a-vps-with-other-sites/61412>\
**Category:** Self-hosting\
**Created:** [21. April 2017 um 23:16 UTC](https://meta.discourse.org/t/setting-up-discourse-on-a-vps-with-other-sites/61412 "2017-04-21T23:16:56Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [22. April 2017 um 09:08 UTC](https://meta.discourse.org/t/setting-up-discourse-on-a-vps-with-other-sites/61412/9 "2017-04-22T09:08:35Z")

</div>

There’s a (in my opinion) slightly easier alternative:

1. Configure your Apache to listen on a different port.
2. Set up nginx as a reverse proxy as described above.
3. Set up nginx to proxy the non-Discourse traffic to Apache’s port.

Note that if you want HTTPS (and you do want that), in that case, you’ll have to set this up in nginx.

---

_[View the full topic](https://meta.discourse.org/t/setting-up-discourse-on-a-vps-with-other-sites/61412)._
