[opencms-dev] Re: I am new to OpenCMS

Christian Poecher Poecher at gmx.net
Mon Sep 13 00:10:52 CEST 2004


Shank wrote:
> 1.) Could we have one installation of OpenCMS and
> create multiple sites ie. www.company1.com, 
> www.company2.com...etc.
> If the answer is yes? How many such sites could we
> create. Please let me know.

Hi there,

first you can always map several domains to one IP. But I think you know 
that.
You can also host several sites in different folders on the server and 
redirect users there. company1.com -> 66.66.66.66/company1 , 
company2.com -> 66.66.66.66/company2
This is possible with OpenCMS in two ways:
a) one instance/installation of OpenCMS per subfolder
Your URLs would look like http://company1.com/company1/opencms/index.html
http://company2.com/company2/opencms/index.html
If you have different users for company1|2.com they can be assigned 
logins and passwords only for their instance.
b) one instance/installation of OpenCMS for all
If you choose to put each site in a seperate subfolder your URLs would 
look like
http://company1.com/opencms/opencms/company1/index.html
http://company2.com/opencms/opencms/company2/index.html
Main disadvantage with this approach is that all users see all templates 
in the editors and that administrators could mess with the settings for 
the other company. This is true for 5.0.x. I heard OpenCMS 6 aims to 
remedy this problem. It's ETA is Q4 this year.

The number of hosted pages or "sites" in one instance is virtually 
unlimited, that is it can be as large as your RAM allows it. We run 
about ten instances (some big, some small) of OpenCMS and allowed the VM 
to take 768MB. Add some memory for the database.

HTH, chris



More information about the opencms-dev mailing list