Multi-site Domain Mapping Not Working build plugin page – build plugin page –

I read that using domain mapping with 2 multi-site builds on one IP was not doable. But my server tech told me they could set up an .htaccess rule to make it work.

They setup the rule and now points to but when I try to map it I get the following

result when I try to map domain in –

Not sure what the issue is or if I am beating a dead horse trying to get this to work.

  • Michael Bissett
    • Recruit

    Hey @brian, Michael here!

    While I’m curious about the .htaccess trick they’re referring to, as the domain would need to point at the dedicated IP address (as we look to be talking about A records), and since said dedicated IP address would need to point at a specific Multisite install, I’m not seeing how this’d be solved with .htaccess code, to be honest with you.

    Kind Regards,


  • Brian
    • Flash Drive

    Here is the .htaccess rule they put in. But this doesn’t work anyways becuase I can’t get the domain to validate on the plugin page.

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteCond %{HTTP_HOST} ^$ [OR]

    RewriteCond %{HTTP_HOST} ^$

    RewriteRule (.*)$$1 [R=301,L]


  • Michael Bissett
    • Recruit

    Hey @brian,

    Okay, that code’s only going to a redirect from one domain to the other, it’s not going to allow for the domain to be assigned to the site via Domain Mapping (hence the validation errors you’ve been running into).

    Is the error I am getting directly caused by there not being a dedicated IP for each MS install?

    If you’re using A records to map domains, then yep, it is, for as we state on the usage page:

    Dedicated IP: For using A Record setups, you need to ensure you have a dedicated IP. This IP would fall onto your multisite setup. i.e. when you enter the IP you see your multisite. This is known as the DocumentRoot for the IP, your host will be able to sort this quickly and easily.

    You’re going to need a separate dedicated IP for each Multisite here, in order for this all to work. :slight_smile:

    Kind Regards,


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.