Domain Mapping and Multisite Setup issues.

Hey there,

I am trying to setup a multisite environment in my Godaddy, Dedicated IP, Shared hosting account.

I am have the WP installed in a directory called multisite, and can access the sub sites (/testsite) without issue.
I can also access both the root site /wp-admin and the testsite / wp-admin.

However, if i try to access the root site
http://kitlamoureux.com/multisite/
i get the following error:
Fatal error: Call to a member function get() on a non-object in /home/content/k/l/a/klamoureux/html/multisite/wp-content/plugins/domain-mapping/classes/Domainmap/Module/Mapping.php on line 1117

If i try to access the Mapped Domain (which comes back as Invalid inceidently even though it appeared to map) at lunchpuppy.com, it now redirect to the original path with 404 Error
http://kitlamoureux.com/multisite/testsite/a/

Thoughts on what i am doing wrong?

My goal is to have various domain mapped to these internal client sites

kitlamoureux.com/multisite ---- > Root Site - Placeholder
kitlamoureux.com/multisite/client1 ---- > http://www.clientdomain.com
kitlamoureux.com/multisite/client2 --- > http://www.client2domain.com
ETC.

Thanks in advance.

Kit

  • Adam Czajczyk

    Hello Kit,

    I hope you're well today and thank you for your question!

    The Domain Mapping plugin is sub-domain and sub-folder install compatible and that means that it can support sub-sites in both formats: subsite.yourdomain.com and yourdomain.com/subsite.

    I admit though that I'm not entirely sure if it plays well with WordPress that's installed in a sub-folder itself. With such a setup your ".htaccess" file contains "RedirectBase /multisite/" rule, is that right? This may be interfering.

    Let me ask the Domain Mapping developer about it just to make 100% sure and I'll let you know once I only get a response from him.

    Meanwhile, we should sort out the error that's coming up on your main site. I understand that the "kitlamoureux.com" is your main domain and it's not any redirect or an alias, is that right?

    Could you please first remove all the mappings and then re-install the plugin making sure that you followed all the required steps exactly? Here's a guide on install (don't map domains yet, just install the plugin):

    https://premium.wpmudev.org/project/domain-mapping/#product-usage

    Let me know please when you're done with it.

    Best regards,
    Adam

  • Kit

    Yes .htaccess contains RewriteBase /multisite/

    kitlamoureux.com is actually the domain of my entire account...it points to the root of the Godaddy account.

    So /multisite sits as a folder in that directory.
    i think that maybe the problem. The Dedicated IP doesnt point at the multisite directory...its actually pointing one folder level above, to the GOdaddy route.

    I think i wil just get a new hosting account and start the install from scratch to get this at the root and everything configured properly, then i can just kill the other hosting account.

    Aside - will i have any issues tranfering my membership and teh plugins to the new multisite install?

  • Predrag Dubajic

    Hi Kit,

    If you're transferring to another server you can still use our plugins, with WPMU account you can use our products on as many sites as you want.

    If you're doing complete transfer you'll be able to use them as you were before, if you're starting from fresh installation you'll just need to login to WPMU DEV Dashboard again in order to get access to our products.

    Best regards,
    Predrag

  • Kit

    OK. All transferred and setup. Still no go.

    The issue seems to be that the Dedicated IP is pointing to the root of the hosting account and not the public_html directory.

    my three sites are all configured properly
    planbsolutions.ca ---> Root Site
    planbsolutions.ca/typoclysm ---> First Test site should resolve to typoclysm.com
    planbsolutions.ca/lunchpuppy ---> Second Test site should resolve to lunchuppy.com

    Right now all the mapped domains resolve to the root directory of the account, not the public html except planbsolutions.ca, the root site, which shows the site.

    What should i do?

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.