Pre Install Topic is solved

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
perplexed2020
New Member
New Member
Posts: 2
Joined: Fri Oct 30, 2020 6:01 pm

Pre Install

Post by perplexed2020 »

Hi,

Trying to get my bearings before I install CMSMS.

I am on a shared server with all the correct versions of php etc.

Reading the installation documentation it mentions that I should install CMSMS onto the root directory of the website:

"Locating the files in public_html will make your site available to users as www.domain.com. If you create a sub-directory below public_html (eg. public_html/somename) your web site will only be available the sub-directory as www.domain.com/somename"

I have a main domain and add-on domains which are accessible through the internet as:

www.maindomain.com
www.addondomain1.com
www.addondomain2.com
...
www.addondominn.com

all the domains' websites are located in subfolders in www.maindomain.com's public-html folder so file structure looks like:

www.maindomain.com/public-html/addondomain1/index.html
www.maindomain.com/public-html/addondomain2/index.html
www.maindomain.com/public-html/addondomainn/index.html

There will be a different web manager for each website/domain.

I would like to be able to install a single copy of CMSMS and give total access to each web manager but just for their website and still allow the addon domains to be accessible through the internet as www.addondomain.com

How and where might I install CMSMS to accomplish this? Or perhaps I can't see the forest for the trees.

Thanks in advance.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1800
Joined: Wed Feb 25, 2009 4:25 am

Re: Pre Install

Post by DIGI3 »

Having one copy of CMSMS to manage three different websites would be a very advanced use case. You would need to micromanage the permissions of every content page and have a good knowledge of url rewriting, among other things.

If that's something you did want to delve into, you would install cmsms in the public-html folder, and set all domains to point to there instead of the individual folders for each you have now. CMSMS only has one real entry point, the index.php file in the root. Everything else would be handled by url rewriting.

I'm not going to make this a tutorial on how to handle multiple domains on one install - it's not really what cmsms was designed for. There are one or two modules which help manage it, but they're intended for switching languages with each language having its own domain - they probably could be utilized for your use case though.
Not getting the answer you need? CMSMS support options
perplexed2020
New Member
New Member
Posts: 2
Joined: Fri Oct 30, 2020 6:01 pm

Re: Pre Install

Post by perplexed2020 »

Hey DIGI3

Thanks. This is very helpful.
I will investigate alternatives.

In the meantime, would I be able to install CMSMS into the root of just one of the add on domains to test it out?
Place CMSMS here:

domain
...public-html
.......addon_domain
............CMSMS
............cgi.bin
............css
............etc

where addon_domain is accessed as www.addon_domain.com (as it is now)
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1800
Joined: Wed Feb 25, 2009 4:25 am

Re: Pre Install

Post by DIGI3 »

Yes, you can install it in any folder you like. Keep in mind that if the url is pointing directly to that folder, you do not add the path in the htaccess - leave it as / as it's acting as a root folder.
Not getting the answer you need? CMSMS support options
Post Reply

Return to “CMSMS Core”