# Category subdomains - Same Discourse instance on different subdomains

**URL:** <https://meta.discourse.org/t/category-subdomains-same-discourse-instance-on-different-subdomains/81710>\
**Category:** Feature\
**Created:** [February 27, 2018, 9:23pm UTC](https://meta.discourse.org/t/category-subdomains-same-discourse-instance-on-different-subdomains/81710 "2018-02-27T21:23:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Michael321](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@Michael321](https://meta.discourse.org/u/Michael321)\
**Post date:** [February 27, 2018, 9:23pm UTC](https://meta.discourse.org/t/category-subdomains-same-discourse-instance-on-different-subdomains/81710/1 "2018-02-27T21:23:39Z")

</div>

Hey there, a quick followup to [this solution](https://meta.discourse.org/t/discourse-in-a-subfolder-multiple-servers-sharing-a-domain/30514/4).

I’d like to have the same Discourse instance on two different domains, so I can present info in context. E.g. multiple projects.

Each subdomain would:

- have all the content
- a vanity subdomain for the project
- some javascript would forward to that project’s category if arriving at /

I tried this with a 2nd DNS A record, but the 2nd domain did a redirect to the 1st domain, then ran my JS - so neither the vanity subdomain or the forward worked.

Is there a way to get one Discourse install to respond to multiple domain names?  
Does this mess up S3 assets and CDN?  
Any other issues with this?

Thanks!

Mike

---

_[View the full topic](https://meta.discourse.org/t/category-subdomains-same-discourse-instance-on-different-subdomains/81710)._
