Page 1 of 1

Running more than one website per domain

Posted: Sat Feb 14, 2009 11:48 am
by raemacleman
Hi,

I discovered CMSMS a couple of days ago (as an Windows ASP developer) and have found setting up and running very straighforward - so well done on that!

I can see that I could have a need to run a number of CMS websites under a single domain as http://www.domain.com/site1, /site2 etc or as subdomains.

Is it possible to use a single copy of the CMSMS files to run a number of web sites like this, saving on space and, more importantly, on upgrade effort? I assume that running say 50 instances of CMSMS in a single database using different table prefixes would be the way to go.

Any advice from someone who's been there before would be welcome.

Kind regards
Rae MacLeman

Re: Running more than one website per domain

Posted: Sat Feb 14, 2009 8:31 pm
by CWebguy
You could subdomain it using your webhost, which should give you an option to point the subdomain to a certain location on your server's harddrive (a certain folder).  I've done that before, not with CMSMS, but wordpress, same difference.  As far as putting them all together, (one file) etc.  you could maybe use URL rewrites to point a certain folder to a subdomain, so like  example.com/site1/example.html  and example.com/site2/thispage.html  could each link to a certain subdomain based on the category being hit (site1, site2 e.g.).  This is kind of complicated, maybe someone else can help with more experience.  It seems maybe possible, but difficult.  Hope this helps.

Lance