Re: Virtual Hosts on physical servers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux