[squid-users] Reverse proxy using 2.6 with multiple domain configuration

From: Sekar <sekarit@dont-contact.us>
Date: Fri, 27 Oct 2006 20:03:21 +0530

Hello all,

I am using squid-2.6STABLE4 as a reverse proxy for multiple domains
which are hosted on 3 servers.
For example

Server A (192.168.1.101) :
    aa1.mydomain.com
    aa2.mydomain.com
Server B (192.168.1.102) :
    aa3.mydomain.com
    aa4.mydomain.com
Server C (192.168.1.103):
    aa5.mydomain.com
    aa6.mydomain.com

I have the following configuration entries on the squid conf.

        http_port 80 vhost
        cache_peer 192.168.1.101 parent 80 0 no-query originserver
        cache_peer 192.168.1.102 parent 80 0 no-query originserver
        cache_peer 192.168.1.103 parent 80 0 no-query originserver

But this doesn't seems to work for me. How does the squid-2.6 knows to
resolve the corresponding origin servers. In squid-2.5 we used to
resolve this issue using either the internal DNS or /etc/hosts file.

Please help me to fix this issue.
Thanks in advance,
Sek
Received on Fri Oct 27 2006 - 08:33:11 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:05 MST