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

stoute

Member
Mar 17, 2014
8
0
1
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!
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
833
28
178
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.