# Multisite Installation

**URL:** https://meta.discourse.org/t/multisite-installation/48218
**Category:** Self-hosting
**Created:** [August 4, 2016, 2:49pm UTC](https://meta.discourse.org/t/multisite-installation/48218 "2016-08-04T14:49:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Juliette\_Culver](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@Juliette\_Culver](https://meta.discourse.org/u/Juliette_Culver)
#### Post date: [August 4, 2016, 2:49pm UTC](https://meta.discourse.org/t/multisite-installation/48218/1 "2016-08-04T14:49:23Z")

</div>

I’m trying to get a multisite installation of discourse working with a different domain for each site and I’m getting a bit confused by the instructions [Multisite configuration with Docker](https://meta.discourse.org/t/multisite-configuration-with-docker/14084)

I’ve seen all the warnings about this being an advanced topic and fully confess that I’d never used docker before installing Discourse. On the other hand, I still need to get it working if we’re going to use Discourse regardless of my lack of docker expertise 🙂

I’ve got a single site installation up and running. The instructions talk about copying a pasting a new hooks section into the app.yml file (I think?) and talk about amending the host\_names node in multisite.yml. I’m confused about where the multisite.yml file comes from? Do I need this in addition to the app.yml file? Also once I’ve got these files do I need to do a rebuild or something or will it all work automatically?

---

<div class="post-metadata">

### Author: ![arrowcircle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arrowcircle/32/100035_2.png) [@arrowcircle](https://meta.discourse.org/u/arrowcircle)
#### Post date: [August 4, 2016, 8:37pm UTC](https://meta.discourse.org/t/multisite-installation/48218/2 "2016-08-04T20:37:10Z")

</div>

You should add host\_names to your app.yml. I got confsed too. Also, please make a backup of your installation before starting to play with multisite.

---

<div class="post-metadata">

### Author: ![Juliette\_Culver](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@Juliette\_Culver](https://meta.discourse.org/u/Juliette_Culver)
#### Post date: [August 5, 2016, 10:08am UTC](https://meta.discourse.org/t/multisite-installation/48218/3 "2016-08-05T10:08:04Z")

</div>

So I just need the one app.yml file? No multisite.yml file? (and thanks for the reminder about backing up! had done so but would have been easy to forget!)

---

<div class="post-metadata">

### Author: ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)
#### Post date: [August 5, 2016, 10:15am UTC](https://meta.discourse.org/t/multisite-installation/48218/4 "2016-08-05T10:15:25Z")

</div>

> [@Juliette\_Culver](#):
>
> So I just need the one app.yml file?

Yes. No matter what the filename it is. `app.yml` with sufficient configuration addition would get your multisite running.

---

<div class="post-metadata">

### Author: ![arrowcircle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arrowcircle/32/100035_2.png) [@arrowcircle](https://meta.discourse.org/u/arrowcircle)
#### Post date: [August 6, 2016, 5:22am UTC](https://meta.discourse.org/t/multisite-installation/48218/5 "2016-08-06T05:22:04Z")

</div>

And please check YAML syntax. With separated postgres, redis and web containers I got messed up with YAML syntax. It was ok for linter, but didnt worked. So I needed to restore from backup.
