[opencms-dev] OP-CMS 7.5.1, glassfish and multidomain

Achim Westermann achim.westermann at gmx.de
Fri Oct 2 14:04:11 CEST 2009


Hi Per-Olof,

> Can open cms figure out which site a request is meant for by examining 
> the request for a domain-name, or does the container have to listen to 
> different ports to help opencms decide what site to serve content from?

Yes it can. The site configuration in opencms-system.xml just tries to 
match the incoming host name and port to find out from which site 
(within VFS) to serve.
Developers most often use different ports for localhost as they don't 
want to fiddle around with a hosts file. But if you have those DNS 
entries you are good to go.

kind regards,

Achim




More information about the opencms-dev mailing list