Multisite installation with Domain Mapping: one domain will not properly map; getting

I have an existing Multisite installation on Hostgator that has been functioning for about 5 months. I recently made two changes: I upgraded to WP 3.3.1, and I switched from a different domain mapping plugin to the WPMU domain mapping plugin 3.07.

After the update and switch, I created two new subdomains ( and and attempted to map newly parked domains onto them. My domain mapping was not working. I tried many things to no avail. I ultimately deleted both of the new subdomains and network deactivated all plugins and reactivated only the domain mapping plugin.

Now, the domain mapping is working fine for all domains except one. For that domain ( I have tried multiple times to get it mapped onto without luck.

The facts: appears to be properly parked; the DNS records for look correct including an A record that points to the proper IP address; has been added and appears in multisite, and is accessible via browser via The correct IP address has been entered in the network Settings for the Domain Mapping plugin.

However every time I enter "Domain Mapping" under the dashboard Tools and try to enter as the "Custom Domain" and click "Add" the setting won't 'take.' I have tried entering a made-up (gibberish) domain name and that will 'take.'

I have since successfully mapped several other newly parked domains onto new subdomains in this same multisite set-up, but still cannot get this domain (one of the two deleted domains to map correctly). If or are requested, the browser returns a page.

For all other mapped sites (whether created before or after the changes noted above), the domain name with or without the www returns the correct page. There are now 12 domains on the multisite install.

That's about all I can think of right now. Thanks for any suggestions or ideas. I could really use some help.

  • scosci78
    • WPMU DEV Initiate

    OK - that was scary but I fixed it.

    As Kimberly suggested, I looked at the wp_domain_mapping table. The one thing I noticed was that the id no's and blog ids nos do not match up ( I wish they did - it would be clearer - are they supposed to?) I then inspected the wp_site tables and noticed that there was no site info that corresponded to the blog id no for the domain that was not properly mapping, and that there was at least one site no that did not correspond to any blog id no. I changed the blog id no in the wp_domain_mapping table to match the site # that had no corresponding blog id. I held my breath and now the domain properly works. This problem definitely related to the deletion and recreation of the domain.

    Would it better to leave well-enough alone at this point, or should I attempt to clean up the tables by matching up the id no.,& blog id no. for each mapped domain and also make sure there are no extra site info that does not match up to a blog? For example I have only 12 sites, my blog ids go up to 16 with several missing intervening number, and the id nos in the mapping table go up to 20 with even more missing intervening numbers.

    Thanks to Kimberly for the suggestion - I am not a complete noob - but this was new, scary & fun territory.

    I am going to try to check all the sites out now and make sure nothing is mucked-up. Hopefully everything else is working and will continue to. . .in which case this is resolved! Thanks again. S.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.