Re: [squid-users] Multiple http servers behind a single squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 15 Oct 2004 23:29:29 +0200 (CEST)

On Fri, 15 Oct 2004, Jim Nachlin wrote:

> Thanks for your help. That is clear.
>
> So the nameservers for webservername1.com (1.2.3.4) and webservername2.com
> (1.2.3.5) would point to the external interface of the machine that squid is
> on? These two webservers would then take local addresses like 192.168.1.4
> and 192.168.1.5?
>
> Any caveats with this system?

I would advice agains using redirectors unless you need to change the
URL-path after the host name. Most accelerator setups works the best if
Squid can forward the URL as-is to the backend web server, preserving the
requested host name.

You can make Squid find the correct server by either

   * Local host file
   * cache_peer directives
   * custom DNS server with other data than the public DNS records

There is also very noticeable performance bottlenecks of using
redirectors, which alone may be a reason to stay away from them..

Regards
Henrik
Received on Fri Oct 15 2004 - 15:29:33 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST