This question already has an answer here:
I'm trying to map somedomain.com to here.anotherdomain.com. I can do any sub domains of the original using a CNAME but the root domain ( somedomain.com ) needs an A record. This is currently set to the ip address of the server ( anotherdomain.com ).
My question is, do I add a CNAME record of somedomain.com to point to here.anotherdomain.com on the server DNS zones?
NAMESERVER RECORDS A somedomain.com 18.104.22.168 CNAME www here.anotherdomain.com SERVER RECORDS CNAME somedomain.com here.anotherdomain.com
The nameservers are at codeigniter and the server is cPanel.
Thanks for any help