Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cname isn't directing properly...probably my fault really

Discussion in 'General Discussion' started by stoute, May 17, 2014.

  1. stoute

    stoute Member

    Joined:
    Mar 17, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Portland, OR
    cPanel Access Level:
    Root Administrator
    I set up a cname record and have never had any problems doing so until this time...

    Cname record:

    secure.domain-b.com. 14400 cname secure.domain-a.com

    I want secure.domain-b.com to show secure.domain-a.com as secure.domain-b.com

    What happens is it routes to domain-a.com rather than the sub domain like set up.

    I'm about 100% positive I did something wrong but I'm not sure what that would be.

    Thanks for any help!
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    834
    Likes Received:
    28
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Based solely on what you posted, make sure your CNAME target ends with a period:

    Code:
    secure.domain-b.com. 14400 cname secure.domain-a.com.
    
    Anyways, it seems like you're technically trying to park secure.domain-b.com to secure.domain-a.com. In that case, I would remove the cname and actually add secure.domain-b.com as a subdomain via cPanel, pointed to the same document root as secure.domain-a.com. This is assuming that both domain-a.com and domain-b.com are on the same cPanel account.

    If they are not on the same account, please describe your setup of these domains as far as the server is concerned so the proper setup can be advised.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Please also note that, once you have configured the CNAME correctly, your browser may produce a SSL certificate mismatch warning if the certificate is installed for one domain name and you are accessing it from another domain name.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice