Multisite with domain mapping and external subdomain – 404 error
-
I’m sure the answer is out there somewhere – I’m just hoping that someone can point me in the right direction…
Here’s the scenario:
WP multisite (with subdomains) installed at smgclientblogs.com
Subdomain site created – test.smgclientblogs.com
Hosting at 1&1 (yes, I know that complicates things, but it is what it is for now…)
mu-domain-mapping plugin installed and network activatedFor each subdomain (such as test), I’ve created a subdomain in the 1&1 control panel that points to the root installation – work-around for the lack of a wildcard DNS option from 1&1. Each of the sites work the way that they’re supposed to, and I’m able to access each site through the individual subdomain.
Where I’m running into problems is with the domain mapping, and more specifically using an external subdomain.
For testing purposes I created the subdomain newsite.idahoadagencies.com and added a CNAME record that points to smgclientblogs.com. In the admin for the site test.smgclientblogs.com (tools > domain mapping) I added newsite.idahoadagencies.com as a new domain.
When I set that (newsite) as the primary domain, then try to visit the site, I get the following 404 error:
Not Found
The requested URL / was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Also, if I try to go to test.smgclientblogs.com while newsite.idahoadagencies.com is set as the primary domain, ‘test’ redirects to ‘newsite’ (which is the way it is supposed to work, I believe), and I end up back at the 404 error.
The wp_config.php and .htaccess files have all been updated according to directions, and I’m out of ideas.
Any direction or advice would be greatly appreciated.
- The topic ‘Multisite with domain mapping and external subdomain – 404 error’ is closed to new replies.