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 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:
    817
    Likes Received:
    22
    Trophy Points:
    18
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page