You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Luke P. Immes" <lp...@multisegment.com> on 2001/06/11 16:23:48 UTC
Re: multiple domain names on same IP
Members,
Hello. Does anyone know or has tried to have multiple domain names on the same IP.
servlet.xml mentions virtual hosts (commented out):
<!-- Virtual host example -
In "127.0.0.1" virtual host we'll reverse "/" and
"/examples"
(XXX need a better example )
(use "http://127.0.0.1/examples" )
<Host name="127.0.0.1" >
<Context path=""
docBase="webapps/examples" />
<Context path="/examples"
docBase="webapps/ROOT" />
</Host>
-->
I would rather not hack a solution, it is better to know exactly what the specificcation means.
For example:
Can the hostname string be symbolic, e.g. <Host name="my.domain.com" ... ?
One would expect serveral hostname (virtual) declarations...
<hostname name="my.domain.com" .... </host>
<hostname name="my.otherdomain.com" ... </host>
Any help would be greatly appreciated. Thanks.
Regards,
Luke P. Immes
www.multisegment.com
508 842 1033
508 579 2683 cell