# I want to host hundreds of instances of Discourse

**URL:** https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388
**Category:** Self-hosting
**Tags:** hosting
**Created:** [November 14, 2019, 1:20pm UTC](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388 "2019-11-14T13:20:43Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Akshay\_Gadekar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akshay_gadekar/32/159104_2.png) [@Akshay\_Gadekar](https://meta.discourse.org/u/Akshay_Gadekar)
#### Post date: [November 14, 2019, 1:20pm UTC](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388/1 "2019-11-14T13:20:43Z")

</div>

1. I want to Host 100’s of Discourse. is it possible to install multiple Discourse on Single Hosting/Droplet? with URL name like - [example.com/City1](http://example.com/City1), [example.com/City2](http://example.com/City2), [example.com/City3](http://example.com/City3), etc (Means Separate Discourse for Every City)

2. Because Subdomain is Expensive for this. because I want more than 100 Subdomains.

3. How can we **Copy Forum Settings** to Another Forum? Because I want to apply the same settings to all discourse.

4. Is there any way to install Plugins on multiple Instances at one time?

I want to start a Social Platform. but there are required separate instances per city.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 14, 2019, 2:42pm UTC](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388/2 "2019-11-14T14:42:48Z")

</div>

You want a multisite installation. It has the same plugins for all sites.

Subdomains cost nothing. A single wildcard dns record is all you need. It will be much easier to use subdomains. I’m not sure that the subfolder code is tested in multisite.

Though many settings can be set using environment variables (though they’d be the same for all sites, which is fine for some things like s3 but not others like pop mailboxes) , the best way to apply settings to all sites is probably with a plugin. You can also hide settings from the web interface.

If you have a budget I can help with all of these things.

---

<div class="post-metadata">

### Author: ![Akshay\_Gadekar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akshay_gadekar/32/159104_2.png) [@Akshay\_Gadekar](https://meta.discourse.org/u/Akshay_Gadekar)
#### Post date: [November 14, 2019, 3:38pm UTC](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388/3 "2019-11-14T15:38:00Z")

</div>

I have Godaddy Domain Names and there **they only provide 100 Records Maximum** but i need around 500.  
Because there are 500 Districts/Cities

> [@pfaffman](#):
>
> probably with a plugin

Which Plugin?

> [@pfaffman](#):
>
> If you have a budget I can help with all of these things.

Sorry, I Don’t Have much Budget for this Because this is Social Work. Currently, I’m planning to test this for 1 city and then i have to rais fund from Donations.

---

<div class="post-metadata">

### Author: ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)
#### Post date: [November 14, 2019, 3:43pm UTC](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388/4 "2019-11-14T15:43:35Z")

</div>

I’ve said it before that this sounds like an expensive way to do this.

If the settings are the same then why have 500 separate email sources, 500 separate moderation queues, 500 separate Discourse backups, etc.

---

<div class="post-metadata">

### Author: ![Akshay\_Gadekar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akshay_gadekar/32/159104_2.png) [@Akshay\_Gadekar](https://meta.discourse.org/u/Akshay_Gadekar)
#### Post date: [November 14, 2019, 3:48pm UTC](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388/5 "2019-11-14T15:48:40Z")

</div>

> [@Remah](#):
>
> If the settings are the same then why have 500 separate email sources

Because the Problems & Solutions of every district are completely Different(Categories are different / also there is language is also different). there are more points…

I have thought about it **Can I Manage all this from Single Instance?** but then I found that It’s not a good idea to put all-district into the single discourse.

for more practical understanding  
if we put all 500 districts in a single discourse.  
if the 1 district has created 1 topic/day minimum. means **500 topics/day** and **it’s very big amount users can’t discuss properly** because topics amount is very big. **There will be a storm of topics.**

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 14, 2019, 3:52pm UTC](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388/6 "2019-11-14T15:52:35Z")

</div>

> [@Akshay\_Gadekar](#):
>
> I have Godaddy Domain Names and there **they only provide 100 Records Maximum** but i need around 500.

Until you need to expand to multiple multisite instances, a single A wildcard A record is all you need. Other DNS providers don’t have that limit.

> [@Akshay\_Gadekar](#):
>
> Which Plugin?
> 
> ![](https://global.discourse-cdn.com/meta/original/3X/e/0/e062240ec212bb5f503969cb832b0427294cbf14.png) pfaffman:

You would need to write it yourself.

> [@Akshay\_Gadekar](#):
>
> I’m planning to test this for 1 city and then i have to rais fund from Donations.

Then you really don’t need to solve the 500 city problem right now. I would recommend just using a single site per droplet to start. Until you have \> 5 cities, there’s little advantage for multisite.

---

<div class="post-metadata">

### Author: ![Akshay\_Gadekar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akshay_gadekar/32/159104_2.png) [@Akshay\_Gadekar](https://meta.discourse.org/u/Akshay_Gadekar)
#### Post date: [November 14, 2019, 4:09pm UTC](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388/7 "2019-11-14T16:09:45Z")

</div>

> [@pfaffman](#):
>
> Then you really don’t need to solve the 500 city problem right now.

That’s Right I’m going on that way. but I know that i have to face this problem, so I’m finding solutions. I’m not completely depended on Donations. If I don’t get donations for a long time then I can run it on my own investment just I have to wait some time.

> [@pfaffman](#):
>
> single site per droplet

Currently, I Have a Hosted Testing site on DO 2GB RAM Droplet. there I found that the instance is not using that much amount. This means it’s Enough for 1 city.  
but I thought if we host multiple discourse on single droplet with more RAM if any district don’t have traffic another district can use that resource and it will save me some money. may be. correct me if i’m thinking wrong.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 14, 2019, 4:14pm UTC](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388/8 "2019-11-14T16:14:59Z")

</div>

I don’t recommend going multisite with \< 4GB of ram, but [Multisite configuration with Docker](https://meta.discourse.org/t/multisite-configuration-with-docker/14084).

From what I can tell about your skills and needs, I’d recommend going with 1GB droplets for each city until you have at least 5. In the mean time you can experiment with multisite on droplets that you spin up to test and then delete.

I recommend that you wait until you have a problem before you go about solving it.

---

<div class="post-metadata">

### Author: ![Akshay\_Gadekar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akshay_gadekar/32/159104_2.png) [@Akshay\_Gadekar](https://meta.discourse.org/u/Akshay_Gadekar)
#### Post date: [November 14, 2019, 4:17pm UTC](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388/9 "2019-11-14T16:17:51Z")

</div>

Thank you very much @pfaffman
