# How can I use multiple hostnames

**URL:** https://meta.discourse.org/t/how-can-i-use-multiple-hostnames/136306
**Category:** Support
**Created:** [December 17, 2019, 12:02pm UTC](https://meta.discourse.org/t/how-can-i-use-multiple-hostnames/136306 "2019-12-17T12:02:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Callum\_OKane](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/callum_okane/32/155016_2.png) [@Callum\_OKane](https://meta.discourse.org/u/Callum_OKane)
#### Post date: [December 17, 2019, 12:02pm UTC](https://meta.discourse.org/t/how-can-i-use-multiple-hostnames/136306/1 "2019-12-17T12:02:20Z")

</div>

So I setup my discourse just fine, for support.maniabots.xyz, but after Google adsense kept declining maniabots.xyz, I changed the discourse host name to www.maniabots.xyz but I want the support subdomain to still work while still being able to use www subdomain! How can I do this, I want SSL on both subdomains aswell.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [December 17, 2019, 2:06pm UTC](https://meta.discourse.org/t/how-can-i-use-multiple-hostnames/136306/2 "2019-12-17T14:06:10Z")

</div>

You can set up a redirect, which I would suggest doing outside of discourse. Discourse can’t be published under more than one DNS address.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 14, 2022, 3:33pm UTC](https://meta.discourse.org/t/how-can-i-use-multiple-hostnames/136306/3 "2022-12-14T15:33:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
