Domain mapping with subdirectories and no dedicated IP

Hello,

I have a multisite installation at the above domain which is in a reseller hosting account (which means there's no dedicated IP I think) which uses subdirectories rather than subdomains.

I have a sub site at http://www.leicestercleaningsupplies.co.uk/miltonkeynes and I want to map the http://www.miltonkeynescleaningsupplies.co.uk domain to this sub site.

I understand that it should be possible to do this but I've read through lots of articles and I'm still not clear exactly what I now need to do regarding changing DNS. The http://www.miltonkeynescleaningsupplies.co.uk domain name is a parked domain in the same hosting account and so has the same nameservers.

Any help much appreciated.

  • Adam Czajczyk

    Hello Guy,

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

    In order to make it work, you will want to configure the "root folder" (otherwise known also as "document root" folder) for the miltonkeynescleaningsupplies.co.uk domain. It has to be the same as the "root folder" for your main domain.

    Usually, the folder would be something like /home/leicestercleaningsupplies.co.uk/public-html/ but please first make sure of it. The best way to do it is to go to the "leicestercleaningsupplies.co.uk" domain configuration in your cPanel, find "root folder" (or "document root" as it's the same) settings and copy the path.

    Then go to the configuration of the "miltonkeynscleaningsupplies.co.uk" domain configuration, edit the "root folder" setting and paste the copied path there. In other words, for both domain that path must be the same.

    Please note: some hosts don't let you edit root folder value for parked domains. If that's the case, you will want to simply delete that parked domain and add it again but this time as an "add-on" domain instead of "parked". Setting up root folder for add-on domain is allowed on pretty much every shared hosting account.

    Once you set up the root folder and type the "miltonkeynscleaningsupplies.co.uk" domain into the browser address bar it should load either the main site of your Multisite or a new blog registration page of it (depending on whether registration is allowed or not). At that point, you should be able to successfully map the domain using Domain Mapping plugin.

    If you have any additional questions, let me know, please.

    Best regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.