Multi-site Domain Mapping Not Working

v3.scout-site.com build plugin page - http://screencast.com/t/bOUQZug4Y
scout-stie.com build plugin page - http://screencast.com/t/nJ5onTlbo

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 lighthousepointyoga.com now points to v3.scout-site.com but when I try to map it I get the following

result when I try to map domain in v3.scout-site.com - http://screencast.com/t/MIgBQCXs0D

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,
    Michael

  • 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} ^lighthousepointyoga.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.lighthousepointyoga.com$
    RewriteRule (.*)$ http://v3.scout-site.com/$1 [R=301,L]
    </IfModule>

  • 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,
    Michael

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.