# Discourse + web server. Possible or better to avoid?

**URL:** https://meta.discourse.org/t/discourse-web-server-possible-or-better-to-avoid/157489
**Category:** Self-hosting
**Created:** [July 12, 2020, 4:58am UTC](https://meta.discourse.org/t/discourse-web-server-possible-or-better-to-avoid/157489 "2020-07-12T04:58:11Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [July 12, 2020, 5:18am UTC](https://meta.discourse.org/t/discourse-web-server-possible-or-better-to-avoid/157489/2 "2020-07-12T05:18:35Z")

</div>

I think this is what you’re looking for:

> [@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…

@neounix has some experience with running Discourse w/ apache2 so they may be able to give some pointers.

---

_[View the full topic](https://meta.discourse.org/t/discourse-web-server-possible-or-better-to-avoid/157489)._
