I have several online products, each of which I’d like to have its own online community. However, because these products are interoperable, many of my customers use multiple products simultaneously.
With that in mind, I want to use a single Discourse instance for all my products but display a different theme for the community based on the domain used to access it.
- app1 → shows App1’s logo and colors
- app2 → shows App2’s logo and colors
Additionally, since all threads are required to be tagged based on the product name, I’d like to hide threads with tags from other products. For instance, hide #app1 if you’re accessing app2.com.
This should occur unless the user opts to browse multiple communities at once.
I suppose the first obstacle is allowing the same Discourse instance to run on multiple domains. How do I get started with this?