Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    2

    Default How to setup a Cname

    Hi noob here

    I just wanted to know how exactly we set up a Cname for a subdomain. I'm running a kickapps website and i need to set up a subdomain Cnamed as "affiliate.kickapps.com". Can i get guidance regarding setting up a Cname for my subdomain.

    Thanks in advance.

  2. #2
    Member ModServ's Avatar
    Join Date
    Oct 2006
    Location
    Egypt
    Posts
    228
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    If you want to add subdomain from WHM then click on Add a DNS Zone then write the IP of the subdomain and in Domain cell write your subdomain, If you want to modify those details later you can make this by entering Edit A DNS Zone then choose your subdomain and click Edit.

    ModServ for Hosting & Web Services Solutions
    URL: http://www.modserv.com.eg

  3. #3
    Member
    Join Date
    Apr 2009
    Posts
    230

    Default

    Assuming that the domain name is 'kickapps.com' and the sub-domain is 'affiliate', what you need is to get a record in the DNS zone file as follows :

    Code:
    affiliate 14400   IN      CNAME   kickapps.com.
    Note that there is a trailing ' . ' at the end of the domain name. And, do increment the serial number in the zone file.

    You can edit the DNS zone file via SSH if you have 'root' shell access. The file will be located at /var/named/kickapps.com.db

    OR

    You can do it directly (preferred) via WHM by using the option 'Edit a DNS zone file' as mentioned in the earlier post.

    If you do not have root access to the server or any option in your control panel (only if your host provides some custom control panel) then you will have to contact their support to get the CNAME done.

Similar Threads & Tags
Similar threads

  1. MX, A, NS, CNAME and so on
    By sunsystems in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-17-2006, 06:34 PM
  2. CNAME's setup?
    By Finkinstein in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-11-2004, 01:12 PM
  3. setup a cname and mx
    By ezrock in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-01-2003, 11:34 PM
  4. CNAME editing/setup
    By Silverado in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-22-2003, 04:08 AM
  5. Cname Setup
    By Angel78 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-28-2003, 04:37 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube