Apache and folder structure for multi hosting with CMS

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Donoss

Apache and folder structure for multi hosting with CMS

Post by Donoss »

Hi,

I've downloaded CMSMS for windows and think its fantastic!  However I'm now trying to set it up on SuSE Linux so that I can have CMS to manage Multiple hosts.  At the moment I want to use domains (alias) on my local network but was wondering how to set up my file structure in Apache and CMS so that I can manage and test two domain names before I open up my webserver to the open world.  Eventually I want to host two domains (www.donoss.com and www.bramptonhall.com).  I'm new to Apache, PHP and CMSMS so please treat me gently!  I was thinking of making the document root /home as I already have a backup solution for this.  Do I have to install CMSMS in each domains folder or can I have just one installation and use this to manage to domains?  Any tips would be much appreciated.

Many thanks

Andy
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Apache and folder structure for multi hosting with CMS

Post by Dr.CSS »

install CMSMS in each domains folder,,

  mark
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Apache and folder structure for multi hosting with CMS

Post by Ted »

I've only ever done this on Debian, but I assume it's the same thing.  I have a /var/www.  From there, I usually have a directory for each domain (/var/www/cmsmadesimple.org).  From there, I usually have 1 for each subdomain (/var/www/cmsmadesimple.org/www /var/www/cmsmadesimple.org/forums).  Then for each, you install a separate instance of cmsms.

CMSMS doesn't handle a multiple hosting sitation, so each one is going to be a disconnected instance.

Does that help at all?
Donoss

Re: Apache and folder structure for multi hosting with CMS

Post by Donoss »

Many thanks for your input, I'll giveit a try and let you know how I get on.

Regards

Andy
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Apache and folder structure for multi hosting with CMS

Post by Russ »

Andy, I've also done it this way in Debian and would add, if possible, it might also be better to have different databases for each CMS instance, otherwise relying on differing extensions in a single database can get a bit confusing ;-) Plus if you are not managing them there are potential client conflicts...

Also I colour code or add some extra text to each install admin header so I know where I am, but I guess this is really only important if you are managing them yourself.

Russ
Locked

Return to “[locked] Installation, Setup and Upgrade”