I'm trying to setup VirtualHosting in order to host multiple domains on a single Zimbra server. Zimbra docs indicate that this is possible, and moreover, if a 'Virtualhost' is indicated for a given domain, users can login by entering only the 'user' portion of their email address.
On zcs.server.com, a domain 'domain.com' is created. Virtual Host for the domain is 'domain.com'. When user 'email@example.com' connects to http://mail.domain.com, he only needs to enter 'user' in the login field.
Unfortunately, this only works when 'domain.com' is setup to be the 'default domain' fo the zimbra installation. And then it doesn't work for domain2.com, of course.
Note that I'm not trying to use SSL here. I'm aware of the problems inherent of doing named-based virtual hosting under SSL. However, here we are only considering http access on port 80.
Is there some other configuration to set up? Should the zimbra/conf/httpd.conf config file also be modified, for example to enable NamedBasedVirtualHosting ? Should a <VirtualHost> directive be established for each domain ? In that case, what document root should be used ?