Your second example is the correct one. You can also set the host value to
"[ALL]" to make things easier.

----- Original Message -----
From: "Dave Ford" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, September 27, 2000 2:33 PM
Subject: One IP - 3 Sites - 3 Domain Names


> I have one physical machine with one IP address. This one ip address is
> associated with three domain names. Each domain name should pull up a
> different web-site.
>
>
> I currently have 3 web-sites defined in server.xml:
>
> <web-site path="c:\@web\@OrionConfig\web-site-1.xml" />
>  <web-site path="c:\@web\@OrionConfig\web-site-2.xml" />
> <web-site path="c:\@web\@OrionConfig\web-site-3.xml" />
>
> I then have three web-site-x.xml files defined. It's not clear what the
> value of the host and virtual-hosts attributes should be for each of these
> three files. I have read the docs and the faq but still can't get it to
> work.
>
> I tried this:
>
> In web-site-1.xml: <web-site host="www.domainName1.com" >
> In web-site-2.xml: <web-site host="www.domainName2.com" >
> In web-site-3.xml: <web-site host="www.domainName3.com" >
>
>
> And this:
>
> In web-site-1.xml: <web-site host="63.74.110.162"
> virtual-hosts="www.domainName1.com">
> In web-site-2.xml: <web-site host="63.74.110.162"
> virtual-hosts="www.domainName2.com">
> In web-site-3.xml: <web-site host="63.74.110.162"
> virtual-hosts="www.domainName3.com">
>
> It is not obvious to me, based on the docs, how to set this up. Any
> suggestions?
>
> Dave Ford
>
>


Reply via email to