On Monday 03 April 2006 09:26, [EMAIL PROTECTED] wrote:
> Port forward 80 to one of the boxes internally on say 3128, then
> install squid on that machine listening to 3128. Now configure
> httpd_accel mode. Configure the webserver names and confirm when this
> name is resolved it goes to either box on port 80.
>
> Then have the same names external dns resolve to your one static ip.
>
> Incoming users for either domain name/hostname will hit the router and
> goto the squid server on the box you destined, then it will determine
> by http-accel mode which websevrer on either box to talk too.
>
> That way both boxes webservers operate on the standard port 80 and no
> user has to ever bother adding a port to end.

I can't see why ordinary name based virtual hosts is not applicable?

I used to run
http://tigger.ws
http://www.vettux.com
as two independent web sites on tigger in exactly the configuration you 
described. Normal name based virtual host. Both tigger.ws and www.vettux.com 
resolved to 202.71.175.58

I now run 1/2 doz. They are sub-domains, but DNS and virtual host names are 
the only things that need to change for own-domains eg
http://tigger.ws
http://juliet.tigger.ws
http://deej.tigger.ws
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to