A records, CNAME and domain mapping
-
I’m trying to understand this. I see a few different things being said online, and so far nothing definitive.
If I use an A record, and park the domain that’s being mapped in cpanel, everything works as expected.
As I won’t be managing all the domains of all the sites, I would *MUCH, MUCH, MUCH* prefer to use CNAMEs as then I can change physical servers without worrying about having a bunch of non-technical people figure out how to change their A records.
This I cannot seem to get to work yet.
To be clear, I’m trying to map a TLD. lets say example.network.com to example.com. (where network.com is the root multisite install, and example.com is the domain owned by a client that should get mapped to example.network.com)
So, in this case I set CNAME records in example.com’s registrar DNS settings to point to network.com
When I traceroute example.com it correctly resolves to the IP address of network.com
I set up the domain mapping plugin (using WPMUdev plugin) and it seems correctly setup.
In fact, there are only 2 things different with this site from another site on the network that does map correctly.
1. The one that works is using my nameservers on my VPS. That domain is then parked on network.com’s cpanel. This is fine for my own sites (where I manage the domains), not okay for client sites.
2. The one that doesn’t simply has 2 CNAME records (www and non-www) pointing to network.com
I am unable to park example.com in cpanel because the nameservers belong to a different server (cpanel error).
So, can CNAMEs be used to map a TLD to a network? If so, how? What am I missing?
- The topic ‘A records, CNAME and domain mapping’ is closed to new replies.