Multi-domain with sub directory setup

I have read some where that multi-domain does not work well with sub directory setup. I wanted to know what exactly is that which does not work well?

I would not be using domain mapping and need to setup a network with 3 sub domains added as multi-domain with the network spanned on multiple sub sites in directories for each sub-domain.

So here is what I have in my mind
sub-domains under multi domain plugin pointed to the sub-directory multi-site install using A record.

My network of sites will grow like this.,,,,,,

I do not need to use domain mapping as I do not plan to point any other subdomain/domain to this network. So I want to know what problem I could be facing using multi-domain on a sub-directory install?


  • Predrag Dubajic
    • Support

    Hey @chodhry,

    Hope you're doing well today :slight_smile:

    Multi-Domains plugins is intended to work only with sub-domain and not sub-folder installations as stated in plugin usage page.

    Let me ping developer @Sam in here so he can give us some more details about your question.
    Please note that, developer response might be slower than usual staff response, so we appreciate your patience on this.

    Best regards,

  • Adam Czajczyk
    • Support Gorilla

    Hey chodry,

    I think you could give it a try. From the Multi-Domains "in plugin" description:

    or example you can allow a user to run a site at, and so on - all on this one Multisite install.

    I think that the idea here is that main install should be at (sub)domain rather than subdirectory. If your main site would be located for example at then sub-sites URLs would be like etc. This will certainly not work.

    With setup like I think it should work, at least according to the aforementioned description. However, let's wait for @Sam to confirm (or, hopefully not, deny) to be sure.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.