# (Superseded) Redirect additional domain(s) to your Discourse instance

**URL:** https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492
**Category:** Self-Hosting
**Tags:** how-to
**Created:** [August 5, 2014, 10:46am UTC](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492 "2014-08-05T10:46:41Z")
**Posts on this page:** 10
**Page:** 5

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [December 10, 2023, 11:29am UTC](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492/96 "2023-12-10T11:29:38Z")

</div>

Then you should, because that is the url an user tries reach using https, but there is no certficate and error will happend.

---

<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: [December 10, 2023, 11:30am UTC](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492/97 "2023-12-10T11:30:39Z")

</div>

See [Set up Let’s Encrypt with multiple domains / redirects](https://meta.discourse.org/t/set-up-let-s-encrypt-with-multiple-domains-redirects/56685) which describes how to get multiple certificates. It worked when I last updated it.

I think this topic needs to be updated.

---

<div class="post-metadata">

### Author: ![jayme](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@jayme](https://meta.discourse.org/u/jayme)
#### Post date: [December 10, 2023, 12:26pm UTC](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492/98 "2023-12-10T12:26:21Z")

</div>

also, might is be easier for me to upload a static html css to an index.html for mysite.ca? I think I might have to go to digitalocean to figure this one out. I dont want people visiting mysite.ca to be alarmed and scared of forum.mysite.ca. some of my users are older members in my community and might be scared to engage.  
I am very new to this, thank you for your time.

---

<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: [December 10, 2023, 1:10pm UTC](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492/99 "2023-12-10T13:10:28Z")

</div>

Running the redirect on the other site could be easier since it’s working already.

---

<div class="post-metadata">

### Author: ![pacharanero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pacharanero/32/500583_2.png) [@pacharanero](https://meta.discourse.org/u/pacharanero)
#### Post date: [April 9, 2024, 1:46pm UTC](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492/101 "2024-04-09T13:46:54Z")

</div>

> [@pfaffman](#):
>
> See [Set up Let’s Encrypt with multiple domains / redirects](https://meta.discourse.org/t/set-up-let-s-encrypt-with-multiple-domains-redirects/56685) which describes how to get multiple certificates. It worked when I last updated it.
> 
> I think this topic needs to be updated.

+1 for updating the OP here to include at least a link to the additional step required in order to avoid SSL errors. Once I had this set up using @pfaffman’s link to @brahn’s excellent post it worked perfectly. Thanks to both.

In short:

1. **DNS** : Set up A records for all subdomains that you want to redirect, each pointing to the same IP, of the Discourse instance.
2. **NGINX** rules set up as per this topic, to redirect the traffic.
3. **LetsEncrypt** rules as per [Set up Let’s Encrypt with multiple domains / redirects](https://meta.discourse.org/t/set-up-let-s-encrypt-with-multiple-domains-redirects/56685) so that there are no SSL errors.

---

<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: [April 9, 2024, 4:39pm UTC](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492/102 "2024-04-09T16:39:42Z")

</div>

> [@pacharanero](#):
>
> - **NGINX** rules set up as per this topic, to redirect the traffic.

current installations redirect any access to the site to the hostname, so I’m not clear that the NGINX stuff here is required at all. You can, for example, enter the IP address of a [standard install](https://meta.discourse.org/t/142537?silent=true) and it’ll redirect to the properhostname.

Am I missing something?

---

<div class="post-metadata">

### Author: ![pacharanero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pacharanero/32/500583_2.png) [@pacharanero](https://meta.discourse.org/u/pacharanero)
#### Post date: [April 9, 2024, 5:24pm UTC](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492/103 "2024-04-09T17:24:49Z")

</div>

> [@pfaffman](#):
>
> Am I missing something?

No, you’re right I think. So that would be another reason that this guide needs either to be updated or deprecated (with a link to the more up-to-date guide containing the SSL/LetsEncrypt details)

---

<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: [April 9, 2024, 5:57pm UTC](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492/104 "2024-04-09T17:57:46Z")

</div>

I updated the OP.

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [July 16, 2024, 5:19am UTC](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492/105 "2024-07-16T05:19:32Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 18, 2024, 11:50am UTC](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492/106 "2024-07-18T11:50:58Z")

</div>



[Previous page](https://meta.discourse.org/t/superseded-redirect-additional-domain-s-to-your-discourse-instance/18492.md?page=4)
