# How does multisite.yml look?

**URL:** https://meta.discourse.org/t/how-does-multisite-yml-look/30110
**Category:** Self-hosting
**Created:** [June 17, 2015, 3:27am UTC](https://meta.discourse.org/t/how-does-multisite-yml-look/30110 "2015-06-17T03:27:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tenzan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tenzan/32/42979_2.png) [@tenzan](https://meta.discourse.org/u/tenzan)
#### Post date: [June 17, 2015, 3:27am UTC](https://meta.discourse.org/t/how-does-multisite-yml-look/30110/1 "2015-06-17T03:27:00Z")

</div>

Where can I see a template?

I wonder why this how-to didn’t mention about `multisite.yml` structure

> [@Multisite configuration with Docker](https://meta.discourse.org/t/multisite-configuration-with-docker/14084):
>
> warning While multisite is supported in the Discourse application, this is an advanced sysadmin setup. If you don’t know what you’re doing, do not set up multisite. The Discourse team is unable to provide multisite configuration support. If you wish to host multiple domains on a singled Docker setup, you’ll need a multisite configuration. Here are the basic building blocks for one. Understand hooks Multisite is a fairly advanced topic. Before attempting a multisite build, spend some time…

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 17, 2015, 3:29am UTC](https://meta.discourse.org/t/how-does-multisite-yml-look/30110/2 "2015-06-17T03:29:20Z")

</div>

The howto says:

```plaintext
 before_bundle_exec:
    - file:
        path: $home/config/multisite.yml
        contents: |
         secondsite:
           adapter: postgresql
           database: b_discourse
           pool: 25
           timeout: 5000
           db_id: 2
           host_names:
             - b.discourse.example.com

```

I already explained you need to be a dev or sysadmin etc to understand this stuff … there is going to be no hand holding here.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 17, 2015, 3:29am UTC](https://meta.discourse.org/t/how-does-multisite-yml-look/30110/3 "2015-06-17T03:29:22Z")

</div>


