Hello. I am installing a Wordpress multisite and also participating in Wordpress.org forum discussions about DirectAdmin. Currently most Wordpress instructions are for Cpanel.
Wordpress multisite has a domain mapping plug-in that enables each sub-blog to behave as an independent website with its own .com domain. We have worked out the protocol for the DirectAdmin equivalent for Cpanel "domain parking" which is referenced in all "domain mapping" instructions. (See bottom of this message.)
However, all Wordpress "domain mapping" instructions suggest either "CNAME aliasing" or "ANAME aliasing." My question: Is there a way to do "domain mapping" using NAMESERVERS instead of cname or aname aliasing?
Thank you anyone. Here below is what we have already worked out for cname or aname aliasing.
Wordpress multisite has a domain mapping plug-in that enables each sub-blog to behave as an independent website with its own .com domain. We have worked out the protocol for the DirectAdmin equivalent for Cpanel "domain parking" which is referenced in all "domain mapping" instructions. (See bottom of this message.)
However, all Wordpress "domain mapping" instructions suggest either "CNAME aliasing" or "ANAME aliasing." My question: Is there a way to do "domain mapping" using NAMESERVERS instead of cname or aname aliasing?
Thank you anyone. Here below is what we have already worked out for cname or aname aliasing.
- Aname redirection requires IP numbers which can change if you change webhosting.
- Cname redirection enables easy changing of IP numbers. However, Cname redirection causes problems for email services.
- Using nameservers for "domain mapping" is possible. Wordpress.com uses namerserver-based domain mapping. I believe nameservers are more efficient than Cname or Aname aliasing. Also like Cname aliasing, you can then assign a new IP to the nameserver instantly. And like Aname aliasing, you can also enable email services. But how to do this? Is there some other HTTPD setting that might make "nameserver aliasing" possible for Wordpress domain mapping? That's my question. Thank you anyone.
- These instructions work for CNAME aliasing (yourdomain.com under "host records" at Enom) or ANAME aliasing (123.45.678 IP numbers under "host records" at Enom), but NOT for nameserver aliasing (ns1.yournameserver.com etc. under "DNS Server Settings" at Enom.)
- DirectAdmin -> Admin Level -> Extra Features: Custom HTTPD -> click on relevant primary yoursite.com domain name of your wordpress installation -> Add text below -> Save.
- For yoursite.com/subdirectory multisites add:
ServerAlias mysubblogsdomain.com - For subdomain.yoursite.com multisites add:
ServerAlias mysubblogsdomain.com *.|DOMAIN| - (Replace mysubblogsdomain.com with the sub-blog's domain name you want to map--not the primary domain.)
Last edited: