httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Proniewski <patrick.proniew...@univ-lyon2.fr>
Subject Re: [users@httpd] Virtual Hosts on physical servers
Date Mon, 18 Jul 2011 21:16:36 GMT
Hi,

On 18 juil. 2011, at 21:20, Peter B wrote:

> I have a single IP address, with multiple web servers, so I somehow need www.hello.com
to go to server1 and www.test.com to go to server2.


As long as you have only one public IP address, you'll have to put a device (sofware or hardware)
between your servers (private IP addresses), and the internet.
That can be NAT, but the port issue is not very nice for clients. Or, that can be a proxy,
who will act almost like a NAT, but on the application level.
Your proxy can be an Apache Server, with mod_proxy, setup to forward client requests for www.hello.com
to server1, and www.test.com to server2. That's not an unusual setup. 
That could also be a Layer 7 switch, but it's very expensive, doing exactly the same job (somewhat
easier to configure).


Patrick PRONIEWSKI
-- 
Administrateur Système - DSI - Université Lumière Lyon 2


Mime
View raw message