You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Aleksey Tsalolikhin <at...@earthlink.net> on 2000/12/01 20:24:54 UTC
multiple hostnames in Host?
Hi,
I've set up a virtual host in Tomcat 3.2 using
<Host name="www.xxxxx.com">
<Context> ... </Context>
</Host>
Great! but there's is about a dozen hostnames that this website
is supposed to come up under.
In Apache, I would have had:
<VirtualHost 1.2.3.4>
ServerName www.domain.com
ServerAlias www.domain2.com www.domain3.com www.domain4.com
www.domain5.com www.domain6.com www.domain7.com www.domain8.com
www.domain9.com www.domain10.com www.domain11.com wwwdomain12.com
DocumentRoot ...
ErrorLog ...
TransferLog ...
</VirtualHost>
Is there something similar in Tomcat, or will I need multiple <Host>
statements, one per domain?
Sincerely,
Aleksey