[squid-users] Question about redirect
Antony Stone
Antony.Stone at squid.open.source.it
Sun Jan 3 19:49:07 UTC 2016
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.
More information about the squid-users
mailing list