[NTLUG:Discuss] Web-server Farm - Networking Question

MadHat Unspecific madhat at unspecific.com
Tue Jan 1 17:56:59 CST 2008


David Simmons wrote:
> 
> I know what I'm hoping to do....I need help in understanding which
> technology/buzz-word to research and RTFineM on.
> 
> Situation:
> 
> Physical CentOS server with a single, static IP address....with
> multiple virtual machines - each VM (also linux / CentOS based) set up for
> web-hosting (LAMP with ssh/ftp access).  Say VM1 hosts
> www.somesite.com.....say VM2 hosts www.anothersite.com.....and say VM3
> hosts www.finalsite.com
> 
> I'd like to setup DNS to point to the
> single 'real-world' address - but have the individual VM respond to the
> request.
> 
> What technology do I use so that all of the virtual
> machines are seen on the 'real' static IP address to the world?.....so
> that people on the internet can SSH into their own box (which is just a VM
> on the host).
> 
> I've been researching Multi-homing.....and Linux
> Virtual Server.....but some of the howto's/docs are ancient.
> 
> Any book / site / howto suggestions?
> 

Each virtual machine would have an IP.  You would need a load balancer, 
more or less.  Look at using squid for a reverse proxy, or balance. 
There are some other options as well, but as far as I know that will be 
the solution for what you want to do.








More information about the Discuss mailing list