Search squid archive

Re: Question about redirect

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

 



On Sunday 03 January 2016 at 20:41:51, Daniel Calin wrote:

> Scenario:
> External IP: 1.1.1.
> Website: www.domain1.com
> Website: www.domain2.com
> External DNS for both sites points to 1.1.1.1
> www.domain1.com is hosted on internal LAN IP 2.2.2.1
> www.domain2.com is hosted on the internal LAN IP 2.2.2.2
> Port 80 is NAT-ed to 2.2.2.1
> Squid is installed on 2.2.2.1
> Question:
> Using Squid, how can I redirect the requests made from Internet
> to www.domain2.com to internal IP 2.2.2.2?

http://wiki.squid-cache.org/ConfigExamples/Reverse/BasicAccelerator


Regards,

Antony.

-- 
René Descartes walks in to a bar.
The barman asks him "Do you want a drink?"
Descartes says "I think not," and disappears.

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux