|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] VIrtual Servers on Single IP
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Malcolm J Harwood wrote:
> On Sunday 03 May 2009, Casey Bralla wrote:
>> I have a single static IP which I use for multiple web pages on multiple
>> domains. Apache makes this process very simple and painless; all web
>> traffic hits Apache, which then decides which web domain was really wanted.
>>
>> However, I'd like to allow each web customer be able to run their own
>> virtual machine on my server, and am wondering how I can split the traffic
>> to separate web pages (with the same public IP) to the separate virtual
>> machines on the same physical server.
>>
>> Anybody have any ideas or know of a good How-To for this?
>
> Set up a reverse proxy on your common IP that redirects to the internal IPs of
> the virtual machines? This is a common load balancing technique, usually for
> when you have a heavy duty backend process and don't want to tie up
> processes/threads for sending out the data once it's produced. (Standard
> procedure with mod_perl and java/tomcat backends).
>
> Apache even has a module for it
> (http://httpd.apache.org/docs/1.3/mod/mod_proxy.html), and a quick google
> search turns up a good number of howtos.
yeah, reverse proxying would also work. probably a lot better than the
hack i outlined just now too
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkn+BgYACgkQ8u2Zh4MtlQpn1QCgpQeuQiywiOoupAHv/8LbCSeG
8+EAmwc5RPCSrJvJ1GCP8b5vAbvAwgae
=dlCv
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|