# Tips for setting up a multi-subdomain Discourse instance with shared SSO?

**URL:** https://meta.discourse.org/t/tips-for-setting-up-a-multi-subdomain-discourse-instance-with-shared-sso/326971
**Category:** Self-hosting
**Tags:** hosting
**Created:** [September 18, 2024, 1:05am UTC](https://meta.discourse.org/t/tips-for-setting-up-a-multi-subdomain-discourse-instance-with-shared-sso/326971 "2024-09-18T01:05:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![featherless](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featherless/32/449875_2.png) [@featherless](https://meta.discourse.org/u/featherless)
#### Post date: [September 18, 2024, 1:05am UTC](https://meta.discourse.org/t/tips-for-setting-up-a-multi-subdomain-discourse-instance-with-shared-sso/326971/1 "2024-09-18T01:05:40Z")

</div>

Hello everyone! I’ve read through a bunch of threads here on multi-site Discourses, but noticed that most of them are from 3+ years ago so I wanted to check in on whether there might be any recent advice, changes, tips, or war stories to be shared of managing a multi-subdomain Discourse community.

The problem I think I’m trying to solve is: I have a domain, and on this domain I’d like to create potentially thousands of subdomains, each focused on a niche (and mostly distinct) topic. I’m also considering an option that will involve only hundreds of subdomains, and that’s really the lower bound; each sub-community really shouldn’t have to filter out any other sub-community’s posts/people/messages.

Ideally, I’d like for auth to be shareable across each of these subdomain instances, but it’s not necessarily critical. Similar to reddit, in the sense that there is a global account but also per-community flair you can get, I’d like to establish a central identity with the ability to express that identity only through specific sub-domains as desired.

With all of the above in mind, I’m about to dive down the rabbit hole of documentation starting from [Recommended Hosting Providers for Self Hosters](https://meta.discourse.org/t/recommended-hosting-providers-for-self-hosters/79562) and then diving in to [Multisite configuration with Docker](https://meta.discourse.org/t/multisite-configuration-with-docker/14084). My worry is that the latter article is from 10 years ago and miiiiight be out of date 😅

If there’s any advice, warnings, or general offerings of insight, I’m all ears!

---

<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: [September 18, 2024, 4:11pm UTC](https://meta.discourse.org/t/tips-for-setting-up-a-multi-subdomain-discourse-instance-with-shared-sso/326971/2 "2024-09-18T16:11:17Z")

</div>

> [@featherless](#):
>
> ! I’ve read through a bunch of threads here on multi-site Discourses, but noticed that most of them are from 3+ years ago

All `discourse.org` hosting that’s not enterprise runs on multisite, so it works and it’s stable and it doesn’t change much.

> [@featherless](#):
>
> I’d like for auth to be shareable across each of these subdomain instances,

I think you can use discourse\_connect to have one site auth for all of them.

I’ve had a couple people who wanted to create some reddit-like thing with hundreds to thousands of sites but none of them were serious and I never got beyond proof of concept.

I’ve got tooling to spin up multisite instances, as well as multiple Discourse containers behind a reverse proxy with a front end to manage them ([https://dashboard.literatecomputing.com/](https://dashboard.literatecomputing.com/)).
