# Run other websites on the same machine as Discourse

**URL:** https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247
**Category:** Self-Hosting
**Tags:** how-to, advanced-setup
**Created:** [5 juli 2014 om 20:36 UTC](https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247 "2014-07-05T20:36:15Z")
**Posts on this page:** 1
**Showing post:** 257

<div class="post-metadata">

### Author: ![mottosso](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mottosso/32/142771_2.png) [@mottosso](https://meta.discourse.org/u/mottosso)
#### Post date: [7 juni 2018 om 13:13 UTC](https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247/257 "2018-06-07T13:13:45Z")

</div>

Just wanted to share how I accomplished this, it was a little easier than I first thought.

From an already running machine, with Caddy acting as a reverse proxy for a number of existing Docker containers already.

1. Clone discourse as per the official instructions
2. Copy `/var/discourse/samples/standalone.yml` → `/var/discourse/containers/app.yml`
3. Fill in SMTP settings and website address
4. Comment out `443:443` from the `expose:` section
5. Replace `80:80` → `3001:80`, 3001 being the port I’m serving via Caddy
6. Run `./launcher rebuild app`
7. Done

Whop!

---

_[View the full topic](https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247)._
