[squid-users] Presenting an internal virtual host externally as domain root folder

Amos Jeffries squid3 at treenet.co.nz
Thu Aug 13 15:24:31 UTC 2015


On 14/08/2015 12:55 a.m., Arjen van der Meer wrote:
>
> Since a couple of months I have installed and configured squid on my
> raspberry pi with raspbian and most things I like to work do! One thing
> however I can't get to work. Not even with the help of what I found on the
> internet so far. That is that I like to present my internal wordpress on my
> diskstation as the domain root on the outside. I want my internal
> http://192.168.1.153/wordpress to be available on the outside as
> www.arjenvandermeer.eu/ without anything else. I have only one external IP
> address so I need to use something like squid to make both my Ubuntu system
> and the Synology available on the outside. I could use a rewriter or a
> redirect to add the /wordpress part but it is much neater if my internal
> /wordpress can present itself as domain root on the outside. My Cisco router
> port forwards http and ssl to my pi lan ip from where squid picks it up.
> 
>  
> 
> Can this be done (with squid) and if so please help me out or point me to
> some matching examples.
> 

What you seek is written at the bottom of this page:
<http://wiki.squid-cache.org/ConfigExamples/Reverse/MultipleWebservers>


Amos



More information about the squid-users mailing list