You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Chris Ewert <ra...@geocities.com> on 1999/02/26 19:19:49 UTC

2 virtual hosts on same IP

Is there already code supporting 2 virtual hosts using the same IP?  I
have ewert.dhs.org and infolaunch.dhs.org both setup on the same domain
name, and I put both in the httpd.conf, and it always goes to the one
listed first in httpd.conf.  It would be nice if httpd could parse the
get request and find out which domain was used and goto the correct
virtual host.  I assume that this is done with IP addresses right now?

Thanks
Chris

--
.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:.

Chris Ewert   radio_1@geocities.com
http://www.geocities.com/~radio_1/

.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:.

Is your ISP not providing what you need?
Need Web Space?  Want a web page?
Visit InfoLaunch Internet Services:

http://www.infolaunch.com

.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:.



Re: 2 virtual hosts on same IP

Posted by Shane Owenby <sh...@raleigh.ibm.com>.
On Fri, Feb 26, 1999 at 12:19:49PM -0600, Chris Ewert wrote:
> Is there already code supporting 2 virtual hosts using the same IP?  I
> have ewert.dhs.org and infolaunch.dhs.org both setup on the same domain
> name, and I put both in the httpd.conf, and it always goes to the one
> listed first in httpd.conf.  It would be nice if httpd could parse the
> get request and find out which domain was used and goto the correct
> virtual host.  I assume that this is done with IP addresses right now?
Take a look at
http://apache.org/docs/vhosts/

Both name based and IP based are explained there.

--
Shane Owenby
IBM-Apache Development

Re: 2 virtual hosts on same IP

Posted by Chris Ewert <ra...@geocities.com>.
sorry, I didn't notice that in the docs, but I found it now.

Chris

Marc Slemko wrote:

> On Fri, 26 Feb 1999, Chris Ewert wrote:
>
> > Is there already code supporting 2 virtual hosts using the same IP?  I
>
> Yea, you start by reading the docs and noticing this has been supported
> for some number of years.

--
.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:.

Chris Ewert   radio_1@geocities.com
http://www.geocities.com/~radio_1/

.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:.

Is your ISP not providing what you need?
Need Web Space?  Want a web page?
Visit InfoLaunch Internet Services:

http://www.infolaunch.com

.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:.



Re: 2 virtual hosts on same IP

Posted by Marc Slemko <ma...@worldgate.com>.
On Fri, 26 Feb 1999, Chris Ewert wrote:

> Is there already code supporting 2 virtual hosts using the same IP?  I

Yea, you start by reading the docs and noticing this has been supported
for some number of years.


RE: 2 virtual hosts on same IP

Posted by Lars Eilebrecht <la...@hyperreal.org>.
According to Chris Ewert:

>  Is there already code supporting 2 virtual hosts using the same IP?  

Yes, see http://docs.apache.org/vhosts/

By the way, the new-httpd list is a development list and no
support forum.


ciao...
-- 
Lars Eilebrecht             - We all have style, but few have class.
lars@hyperreal.org