Actually, Orion has the ability to work with Virtual Domains. I forget
exactly how this works, but you can use one IP to bind to many domain names,
by setting up each domain as a virtual domain. This is much like how ISPs
allow each of their clients to have their own www.mycompany.com route to
their IP address, and then direct the web requests to the /~user_name
directory. Orion is capable of doing this, but you'll probably have to look
at the archives of emails on how to do this for sure. I am pretty sure you
need to set something in the orion-web.xml and/or the /confid/web-site.xml
files.


> -----Original Message-----
> From: Andre Vanha [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 27, 2000 3:07 PM
> To: Orion-Interest
> Subject: RE: One IP - 3 Sites - 3 Domain Names
> 
> 
> As far as I know what you're trying to accomplish is 
> impossible.  A web
> server binds to an IP addresses.  The domain names are just 
> pointers to the
> same IP address.  So in effect your're trying to run 3 
> webserver on the same
> exact IP.  You could bind to different ports, but then your 
> URLs would be
> non-standard.
> To do this correctly you'll need a different IP for each domain.
> 
> One possibility that comes to mind, though I have no idea it 
> will work, is
> to analyze the URL request in your servlet or JSP and attempt to
> inlcude/forward the appropriate content in your code, 
> depending on what you
> find.
> 
> Andre V
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Ford
> Sent: Wednesday, September 27, 2000 1:33 PM
> To: Orion-Interest
> 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