Search squid archive

Reverse proxy using 2.6 with multiple domain configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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








[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux