# Setting up sub-domain in cPanel

**URL:** <https://meta.discourse.org/t/setting-up-sub-domain-in-cpanel/28354>\
**Category:** Self-hosting\
**Created:** [5월 5, 2015, 5:30오후 UTC](https://meta.discourse.org/t/setting-up-sub-domain-in-cpanel/28354 "2015-05-05T17:30:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erik\_Manger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erik_manger/32/179399_2.png) [@Erik\_Manger](https://meta.discourse.org/u/Erik_Manger)\
**Post date:** [5월 5, 2015, 5:30오후 UTC](https://meta.discourse.org/t/setting-up-sub-domain-in-cpanel/28354/1 "2015-05-05T17:30:17Z")

</div>

Hi,

I have a dedicated server from Namecheap and am trying to pair the [forum.domain.com](http://forum.domain.com) within cPanel.

How would I do this through DNS editor? I have a Digital Hosting plan hosting the forum itself.

---

<div class="post-metadata">

**Author:** ![ark](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ark/32/41745_2.png) [@ark](https://meta.discourse.org/u/ark)\
**Post date:** [5월 5, 2015, 5:57오후 UTC](https://meta.discourse.org/t/setting-up-sub-domain-in-cpanel/28354/2 "2015-05-05T17:57:32Z")

</div>

Add an A record.

The subdomain is either `forum` or `forum.example.com.` (including the final dot always if you are using a full host), type = `A`, value = `ip of your digital hosting VM, whatever the docker is running on`.

`forum IN A 192.168.1.200`

* * *

![](https://global.discourse-cdn.com/meta/original/3X/c/9/c944e4cc6e8a45fb775714e7d471be2b5387b79d.png)

* * *

![](https://global.discourse-cdn.com/meta/original/3X/c/2/c2716d6cbec5e4db65a98b35a974570d82511173.png)

---

<div class="post-metadata">

**Author:** ![Erik\_Manger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erik_manger/32/179399_2.png) [@Erik\_Manger](https://meta.discourse.org/u/Erik_Manger)\
**Post date:** [5월 5, 2015, 7:29오후 UTC](https://meta.discourse.org/t/setting-up-sub-domain-in-cpanel/28354/3 "2015-05-05T19:29:09Z")

</div>

![YZbi52i](https://global.discourse-cdn.com/meta/original/4X/8/b/d/8bd7607b90c381dc04eef820e2cdc93c871a02bb.png)  
It doesn’t seem to want to work… It’d been added via cPanel and hasn’t worked since…

---

<div class="post-metadata">

**Author:** ![ark](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ark/32/41745_2.png) [@ark](https://meta.discourse.org/u/ark)\
**Post date:** [5월 5, 2015, 8:11오후 UTC](https://meta.discourse.org/t/setting-up-sub-domain-in-cpanel/28354/4 "2015-05-05T20:11:32Z")

</div>

You are using cloudflare, so DNS is no longer handled in cpanel. Log in  
to cloudflare with your cloudflare account, DNS under that domain, add A  
record, first box is forum, next box is the ip
