Multisite installation into a subdirectory of a multisite cpanel instal

Okay - I know the first rule of mulitisite is to install it into the top level directory of your server... ie /public_html/ for the typical cpanel installation.

However, my client wants a second installation of multisite done this way:


he already has one at:

/home/account/public_html/ with the first domain.

He has a reason for this, and it is not particularly valid - other than he wants to split up the number of domains per installation. Everything works fine with the second installation until we go to use domain mapping. During the installation the network code that was provided for the .htaccess as identical for the second install when compared to the first install. I knew this was going to cause issues.

Is there a written step-by-step instruction on how to do this weird configuration? I assume the biggest issue is the .htaccess file.

Any advice or suggestions would be appreciated. I searched this topic and I am sure others have asked about it. Could not find anything here on it.

  • Philip John
    • DEV MAN’s Apprentice


    Hate to be the bearer of bad news but chances of getting that working are slim.

    The domain mapping is going to be applied to the root install and nowhere else - the requests just won't filter down to the second install.

    he wants to split up the number of domains per installation

    Can you clarify what your client means with this and we may be able to find a solution?


  • Aphrodite
    • The Reaper


    This MUST work with Cpanel using the "addon domain" feature of Cpanel.

    That means the can be pointed on any sub folder of your root folder as an independant site.

    The add on domain function will aske you where to point it, you can even point it on /public_html2/ in the root folder if you wish.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.