Support » Multisite » Domain Mapping in WordPress Multisite is failing

Domain Mapping in WordPress Multisite is failing

  • I have a network wordpress installation. The primary domain is domain1.com. I added a new subdirectory domain1.com/domain2 which works fine.

    Now I wanted to map the domain1.com/domain2 to domain2.com.

    Here is what I did:

    Forwarded domain2.com to the IP address of my server.

    I added an A record in the dns manager.

    In the sites-available for domain1.com, I added an alias to the apache server to make domain2.com point to domain1.com

    Restarted apache.

    Now domain2.com displays the content of domain1.com (the address bar still displays domain2.com).

    I activated domain mapping plugin in the network dashboard. IP is good in there.

    I went to domain2’s admin dashboard > Tools > Domain Mapping and added a new primary domain domain2.com.

    Test domain2.com > It fails. No answer from the server. Test domain1.com/domain2 > It fails too. The failure is I get no answer from the server.

    Go back to domain2’s admin dashboard > tools > Domain mapping and change primary domain to domain1.com/domain2.

    Now test domain2.com > It redirects to domain1.com/domain2 and works. Test domain1.com/domain2 and obviously it works.

    What’s wrong?


Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Ipstenu (Mika Epstein)


    Change it from pointing to IP to pointing to the domain name?

    Which domain name to use?

    Moderator Ipstenu (Mika Epstein)


    The main domain 🙂 domain1.com

    The IP should work (it’s running fine on mine) though, so I wonder if you have a conflicting plugin.

    It didn’t solve the problem. I believe IP should work too. But both are not working right now. Something strange happened. When deactivated the plugin, it started working?! Any explanation?

    Moderator Ipstenu (Mika Epstein)


    What other plugins are you running?

    Other than WordPress Mu Domain Mapping,
    1. Adminer
    2. Search and Replace
    3. WordPress importer

    Moderator Ipstenu (Mika Epstein)


    Try turning them all off.

    Also switch your theme back to TwentyEleven.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Domain Mapping in WordPress Multisite is failing’ is closed to new replies.