Re: One IP - 3 Sites - 3 Domain Names

2000-09-28 Thread devendra orion

Hi!:

I also asked the same question and also seen people
asking same question. What i understand from all this
conversations or mail going back and forth is that  
whether orion is suitable for ISP?

This question should be answered by technical or
development team of orion. Is it a good idea to put
some docs about practical application of orion and
realtime configuration in different scenario. 
I think there should be *.xml config file s for
different scenarios.

thanks 
Devendra
--- Dave Ford <[EMAIL PROTECTED]> wrote:
> 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:
> 
>  />
>   path="c:\@web\@OrionConfig\web-site-2.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:  host="www.domainName1.com" >
> In web-site-2.xml:  host="www.domainName2.com" >
> In web-site-3.xml:  host="www.domainName3.com" >
> 
> 
> And this:
> 
> In web-site-1.xml:  virtual-hosts="www.domainName1.com">
> In web-site-2.xml:  virtual-hosts="www.domainName2.com">
> In web-site-3.xml:  virtual-hosts="www.domainName3.com">
> 
> It is not obvious to me, based on the docs, how to
> set this up. Any
> suggestions?
> 
> Dave Ford
> 
> 


__
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




RE: One IP - 3 Sites - 3 Domain Names

2000-09-28 Thread Holmes, George (TWIi London)

Under HTTP/1.1 it is possible to run multiple sites on port 80, from the
same IP address.  The host header name (ie. domain name) is used to
distinguish between each site.  I don't know what the support in Orion is
for host header names, but also be aware that some older browsers may not
work correctly if they are not HTTP/1.1 compliant.

George

GEORGE HOLMES

TWI Interactive
Media House
Burlington Lane
LONDON
W4 2TH
ENGLAND

TEL: +44 208 233 5631
FAX: +44 208 233 7701
CELL: +44 7968 918813


-Original Message-
From: Christof Baumgärtner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 28, 2000 2:51 AM
To: Orion-Interest
Subject: Re: One IP - 3 Sites - 3 Domain Names



"Duffey, Kevin" wrote:

> Actually, Orion has the ability to work with Virtual Domains. I forget
> exactly how this works,

It's pretty easy. Starting with browser versions 3 the browsers included not
only the URI (like it is specified in HTTP/0.9 already) but the full URL
into
the HTTP request. So the full hostname is contained in the HTTP request
header.
Virtual servers (this type of server is often called "software virtual
servers")
can then find out which domain to answer by parsing the HTTP headers. You
can
see the limitations of this neat trick by simulating a HTTP request without
the
full HTTP headers. Just do a telnet to all your virtual servers on port 80
(or
on whatever server the port is running on) and do a GET request for a
document
(for example "GET /index.html"). The answer for all these requests will be
the
same.

> 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:
> >
> > 
> >  
> > 
> >
> > 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: 
> > In web-site-2.xml: 
> > In web-site-3.xml: 
> >
> >
> > And this:
> >
> > In web-site-1.xml:  > virtual-hosts="www.domainName1.com">
> > In web-site-2.xml:  > virtual-hosts="www.domainName2.com">
> > In web-site-3.xml:  > virtual-hosts="www.domainName3.com">
> >
> > It is not obvious to me, based on the docs, how to set this up. Any
> > suggestions?
> >
> > Dave Ford
> >





Re: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Christof Baumgärtner


"Duffey, Kevin" wrote:

> Actually, Orion has the ability to work with Virtual Domains. I forget
> exactly how this works,

It's pretty easy. Starting with browser versions 3 the browsers included not
only the URI (like it is specified in HTTP/0.9 already) but the full URL into
the HTTP request. So the full hostname is contained in the HTTP request header.
Virtual servers (this type of server is often called "software virtual servers")
can then find out which domain to answer by parsing the HTTP headers. You can
see the limitations of this neat trick by simulating a HTTP request without the
full HTTP headers. Just do a telnet to all your virtual servers on port 80 (or
on whatever server the port is running on) and do a GET request for a document
(for example "GET /index.html"). The answer for all these requests will be the
same.

> 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:
> >
> > 
> >  
> > 
> >
> > 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: 
> > In web-site-2.xml: 
> > In web-site-3.xml: 
> >
> >
> > And this:
> >
> > In web-site-1.xml:  > virtual-hosts="www.domainName1.com">
> > In web-site-2.xml:  > virtual-hosts="www.domainName2.com">
> > In web-site-3.xml:  > virtual-hosts="www.domainName3.com">
> >
> > It is not obvious to me, based on the docs, how to set this up. Any
> > suggestions?
> >
> > Dave Ford
> >





RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Duffey, Kevin

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:
> 
> 
>  
> 
> 
> 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: 
> In web-site-2.xml: 
> In web-site-3.xml: 
> 
> 
> And this:
> 
> In web-site-1.xml:  virtual-hosts="www.domainName1.com">
> In web-site-2.xml:  virtual-hosts="www.domainName2.com">
> In web-site-3.xml:  virtual-hosts="www.domainName3.com">
> 
> It is not obvious to me, based on the docs, how to set this up. Any
> suggestions?
> 
> Dave Ford
> 




RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread David Morton


 What are you guys talking about?  I have orion running 10 web 
sites on same IP.  Use Virtual-Hosting.Did i misunderstand your question?
http://www.orionserver.com/docs/web-site.xml.html
virtual hosting works by checking the host in the request.if it sees 
the virtual-host listed in the particular web-site.xml fileit will work 
as you expect..
 This should be a very simple functionjust set all IPs to the 
sameI personally do not use the [ALL] specification on the port 
ever...because I have apache web server running some of my legacy sites on 
the same machine.but soon I will be 100% J2EE

David


At 06:46 PM 9/27/00 -0400, you wrote:
>Hi,
>   I experienced the same problem and i couldn't find the solution.
>   A suggestion..
>1. install iis or apache as main webserver and configure the virtual hosts.
>2. run orion as a second server on different port
>and you know from there..
>
>Sarathy
>
>>
>>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:
>>
>>
>>  
>>
>>
>>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: 
>>In web-site-2.xml: 
>>In web-site-3.xml: 
>>
>>
>>And this:
>>
>>In web-site-1.xml: >virtual-hosts="www.domainName1.com">
>>In web-site-2.xml: >virtual-hosts="www.domainName2.com">
>>In web-site-3.xml: >virtual-hosts="www.domainName3.com">
>>
>>It is not obvious to me, based on the docs, how to set this up. Any
>>suggestions?
>>
>>Dave Ford
>>
>
>_
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at 
>http://profiles.msn.com.
>






RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Stanislav Maximov

This is not correct. It is absolutely possible to have several hosts on one
IP address.


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Andre Vanha
> Sent: Thursday, September 28, 2000 2:07 AM
> 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:
>
> 
>  
> 
>
> 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: 
> In web-site-2.xml: 
> In web-site-3.xml: 
>
>
> And this:
>
> In web-site-1.xml:  virtual-hosts="www.domainName1.com">
> In web-site-2.xml:  virtual-hosts="www.domainName2.com">
> In web-site-3.xml:  virtual-hosts="www.domainName3.com">
>
> It is not obvious to me, based on the docs, how to set this up. Any
> suggestions?
>
> Dave Ford
>
>





RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Sarathy Mattaparti

Hi,
   I experienced the same problem and i couldn't find the solution.
   A suggestion..
1. install iis or apache as main webserver and configure the virtual hosts.
2. run orion as a second server on different port
and you know from there..

Sarathy

>
>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:
>
>
>  
>
>
>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: 
>In web-site-2.xml: 
>In web-site-3.xml: 
>
>
>And this:
>
>In web-site-1.xml: virtual-hosts="www.domainName1.com">
>In web-site-2.xml: virtual-hosts="www.domainName2.com">
>In web-site-3.xml: virtual-hosts="www.domainName3.com">
>
>It is not obvious to me, based on the docs, how to set this up. Any
>suggestions?
>
>Dave Ford
>
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Andre Vanha

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:


 


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: 
In web-site-2.xml: 
In web-site-3.xml: 


And this:

In web-site-1.xml: 
In web-site-2.xml: 
In web-site-3.xml: 

It is not obvious to me, based on the docs, how to set this up. Any
suggestions?

Dave Ford





RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Mike Cannon-Brookes

The second one here is correct. I have 12 domains running on one IP and it
works perfectly.

Mike

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Ford
> Sent: Thursday, September 28, 2000 5:33 AM
> 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:
>
> 
>  
> 
>
> 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: 
> In web-site-2.xml: 
> In web-site-3.xml: 
>
>
> And this:
>
> In web-site-1.xml:  virtual-hosts="www.domainName1.com">
> In web-site-2.xml:  virtual-hosts="www.domainName2.com">
> In web-site-3.xml:  virtual-hosts="www.domainName3.com">
>
> It is not obvious to me, based on the docs, how to set this up. Any
> suggestions?
>
> Dave Ford
>
>
>





Re: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Karl Avedal

Hello Dave,

Dave Ford wrote:

> 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:
>
> 
>  
> 
>
> 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: 
> In web-site-2.xml: 
> In web-site-3.xml: 
>
> And this:
>
> In web-site-1.xml:  virtual-hosts="www.domainName1.com">
> In web-site-2.xml:  virtual-hosts="www.domainName2.com">
> In web-site-3.xml:  virtual-hosts="www.domainName3.com">
>

This 2nd one is correct, but you only need to give the host attribute if you
just want to listen to one of multiple IP:s on the server.

 in one and  in another is enough (but of course you also
want the other web-site to do something differently from the first, like have
other applications and content deployed)

Regards,
Karl Avedal





Re: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Jason von Nieda

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:
>
> 
>  
> 
>
> 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: 
> In web-site-2.xml: 
> In web-site-3.xml: 
>
>
> And this:
>
> In web-site-1.xml:  virtual-hosts="www.domainName1.com">
> In web-site-2.xml:  virtual-hosts="www.domainName2.com">
> In web-site-3.xml:  virtual-hosts="www.domainName3.com">
>
> It is not obvious to me, based on the docs, how to set this up. Any
> suggestions?
>
> Dave Ford
>
>