Can MU be installed in a sub-directory and still use Doman Mapping?

My main domain is http://abc.com and my sub directory is http://xzy.site, which is the one with MU installed on it. Can I use the Domain Mapping plugin on the http://xzy.site domain or do I have to make it the main domain?

  • Adam Czajczyk
    • Support Gorilla

    Hey Whit,

    I hope you're having a nice day and thank you for your question!

    Our Domain mapping plugin should work fine with sub-directory install. I'm a bit confused though with the relationship of your domains/sites. Could you explain it a bit?

    Assuming that you have your WP installed under "domain.com" as a sub-directory install, then all the sites will have URLs like these "domain.com/site1", "domain.com/site2" etc.
    Our plugin should handle such setup just fine.

    The same applies to this scenario: a sub-directory install on subdirectory, so the main site is at "domain.com/wordpress" and sub-sites are "domain.com/wordpress/site1" etc.

    However, I'm not sure what's exactly "abc.com" in your example. I admin I'm a little lost here :slight_smile: Please advise and I'll be glad to help you set this all up.

    Cheers,
    Adam

  • Whit
    • New Recruit

    My current set up is "domain.com/wordpress/site1" but I want to use the domain mapping plugin to allow user to set up their own domain to reach their site.

    They set up domain.com/wordpress/site1 then they add their own domain newdomain.com with the domain mapping plugin. Is this possible or do I have to have my wordpress installed on the rooted directory?

    My main domain for my server is mainDomain.com and the wordpress set up in domain.com as an add-0n domain

  • Adam Czajczyk
    • Support Gorilla

    Hey Whit,

    thanks for this feedback!

    The clue here is that if you can setup your "domain to be mapped" on your server to load your main site (which would be domain.com/wordpress/) then you should be good to go. Depending on your server's/domain's config this can be achieved either by using a dedicated IP and setting its "DocumentRoot" to point to the same directory as your main domain or by setting CNAME record to point to your main domain.

    So, once you're able to load your main site with "domain to be mapped" (even if the site would seem "broken" at first glance), the Domain Mapping should then work fine I think.

    Kind regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.