# Setup CNAME with my custom domain for my Discourse site

**URL:** https://meta.discourse.org/t/setup-cname-with-my-custom-domain-for-my-discourse-site/38480
**Category:** Support
**Created:** [January 25, 2016, 10:35pm UTC](https://meta.discourse.org/t/setup-cname-with-my-custom-domain-for-my-discourse-site/38480 "2016-01-25T22:35:58Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Swedz](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@Swedz](https://meta.discourse.org/u/Swedz)
#### Post date: [January 25, 2016, 10:35pm UTC](https://meta.discourse.org/t/setup-cname-with-my-custom-domain-for-my-discourse-site/38480/1 "2016-01-25T22:35:58Z")

</div>

I want my CNAME to be `forums` and my site IP is `162.243.12.227`. How would I do this? Is there a special domain I need to point to? Because pointing to the IP isn’t working for me.

 ![](https://global.discourse-cdn.com/meta/original/3X/7/7/77bef6a9f04182577b7042f46fd8b4d1e2b98e24.PNG)

---

<div class="post-metadata">

### Author: ![lrossouw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lrossouw/32/121275_2.png) [@lrossouw](https://meta.discourse.org/u/lrossouw)
#### Post date: [January 25, 2016, 10:53pm UTC](https://meta.discourse.org/t/setup-cname-with-my-custom-domain-for-my-discourse-site/38480/2 "2016-01-25T22:53:43Z")

</div>

You have [server.example.com](http://server.example.com) with ip 162.243.12.227.

You want it to host your forum on that server so now your CNAME will be:  
`forum.example.com CNAME server.example.com.`

I.e. you say point forum to server. Server points to the IP.

---

<div class="post-metadata">

### Author: ![Swedz](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@Swedz](https://meta.discourse.org/u/Swedz)
#### Post date: [January 25, 2016, 11:09pm UTC](https://meta.discourse.org/t/setup-cname-with-my-custom-domain-for-my-discourse-site/38480/3 "2016-01-25T23:09:43Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/c/7/c7b811a84f3a86a0d19b18316478f62e90767985.PNG)

I did this a few minutes ago.  
Still not working. ☹

---

<div class="post-metadata">

### Author: ![lrossouw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lrossouw/32/121275_2.png) [@lrossouw](https://meta.discourse.org/u/lrossouw)
#### Post date: [January 25, 2016, 11:12pm UTC](https://meta.discourse.org/t/setup-cname-with-my-custom-domain-for-my-discourse-site/38480/4 "2016-01-25T23:12:37Z")

</div>

I guess dns setup is off topic on this forum.

But the server ip should not be on the cname section. But somewhere else on your panel?

---

<div class="post-metadata">

### Author: ![Swedz](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@Swedz](https://meta.discourse.org/u/Swedz)
#### Post date: [January 25, 2016, 11:14pm UTC](https://meta.discourse.org/t/setup-cname-with-my-custom-domain-for-my-discourse-site/38480/5 "2016-01-25T23:14:46Z")

</div>

So I make an A record with the IP?

EDIT: This is correct. Solved. 🙂

---

<div class="post-metadata">

### Author: ![lrossouw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lrossouw/32/121275_2.png) [@lrossouw](https://meta.discourse.org/u/lrossouw)
#### Post date: [January 25, 2016, 11:49pm UTC](https://meta.discourse.org/t/setup-cname-with-my-custom-domain-for-my-discourse-site/38480/6 "2016-01-25T23:49:02Z")

</div>

Yes, that’s correct.

---

<div class="post-metadata">

### Author: ![lrossouw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lrossouw/32/121275_2.png) [@lrossouw](https://meta.discourse.org/u/lrossouw)
#### Post date: [January 26, 2016, 8:37pm UTC](https://meta.discourse.org/t/setup-cname-with-my-custom-domain-for-my-discourse-site/38480/7 "2016-01-26T20:37:04Z")

</div>

You could mark solution in this thread if you wanted to?

---

<div class="post-metadata">

### Author: ![Swedz](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@Swedz](https://meta.discourse.org/u/Swedz)
#### Post date: [January 26, 2016, 8:44pm UTC](https://meta.discourse.org/t/setup-cname-with-my-custom-domain-for-my-discourse-site/38480/8 "2016-01-26T20:44:49Z")

</div>

Done, sorry. Didn’t know that was a thing ahaha

---

<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: [June 8, 2024, 12:45pm UTC](https://meta.discourse.org/t/setup-cname-with-my-custom-domain-for-my-discourse-site/38480/9 "2024-06-08T12:45:55Z")

</div>

This topic was automatically closed after 3056 days. New replies are no longer allowed.
