httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <scte...@apache.org>
Subject Re: [users@httpd] 1 IP with multiple sites
Date Fri, 07 Sep 2007 22:39:09 GMT

On Sep 7, 2007, at 3:21 PM, Chris Arnold wrote:

> We only have 1 ip here and are looking to have a couple different  
> sites with different DNS names on SLES10 SP1 with apache2 2.2.3.  
> Allow me to describe it like this:
> joeblow.com points to our 1 ip and so does ilikedogs.com. How would  
> we get people that want to get to joeblow.com to joeblow.com and  
> not ilikedogs.com? 1 ip and on the same port, is there a way to  
> accomplish this with apache2?

Bread and butter. See http://httpd.apache.org/docs/2.2/vhosts/ or,  
more specifically:

http://httpd.apache.org/docs/2.2/vhosts/name-based.html

S.

-- 
Sander Temme
sctemme@apache.org
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF




Mime
View raw message