The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CNAME question

Discussion in 'General Discussion' started by tomdchi, Jul 8, 2013.

  1. tomdchi

    tomdchi Well-Known Member

    Joined:
    Feb 24, 2008
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    cPanel Access Level:
    DataCenter Provider
    If I have the domain mydomain.com and I need to do a CNAME pointed to otherdomain.com what needs to be set in cpanel's DNS editor.

    I set it to:

    mydomain.com 14400 IN CNAME otherdomain.com.

    but when I do nslookup it finds no CNAME record for mydomain.com. What am I doing wrong?
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    That is not possible, you can not create a CNAME-record for the name of the zone itself.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could create an "A" record pointing to the external IP address if the domain name is configured on the remote server. Or, you could update the "CNAME" record for "www" and redirect all "non-www" requests to the "www" prefix.

    Thank you.
     
Loading...

Share This Page