# How to Docker+Discourse and Apache too?

**URL:** https://meta.discourse.org/t/how-to-docker-discourse-and-apache-too/25405
**Category:** Self-hosting
**Created:** [19. Februar 2015 um 15:34 UTC](https://meta.discourse.org/t/how-to-docker-discourse-and-apache-too/25405 "2015-02-19T15:34:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![doctorwho](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/doctorwho/32/38668_2.png) [@doctorwho](https://meta.discourse.org/u/doctorwho)
#### Post date: [19. Februar 2015 um 15:34 UTC](https://meta.discourse.org/t/how-to-docker-discourse-and-apache-too/25405/1 "2015-02-19T15:34:43Z")

</div>

Hello

I’m looking for hosting a new discourse into an existing server.  
But there is a Drupal CMS under Apache with MySQL database …

How can I do for webserver on same port ?

Thanks for your help

---

<div class="post-metadata">

### Author: ![thangngoc89](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thangngoc89/32/115436_2.png) [@thangngoc89](https://meta.discourse.org/u/thangngoc89)
#### Post date: [19. Februar 2015 um 16:23 UTC](https://meta.discourse.org/t/how-to-docker-discourse-and-apache-too/25405/2 "2015-02-19T16:23:37Z")

</div>

You should read this

> [@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: ![doctorwho](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/doctorwho/32/38668_2.png) [@doctorwho](https://meta.discourse.org/u/doctorwho)
#### Post date: [19. Februar 2015 um 18:13 UTC](https://meta.discourse.org/t/how-to-docker-discourse-and-apache-too/25405/3 "2015-02-19T18:13:56Z")

</div>

Thanks, it’s perfect @thangngoc89

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [19. Februar 2015 um 18:44 UTC](https://meta.discourse.org/t/how-to-docker-discourse-and-apache-too/25405/4 "2015-02-19T18:44:38Z")

</div>


