I develop web sites for others, and I regularly mount them on a name based web server, using a temporary domain. This temporary domain name is NOT in DNS, so my customer and I add it to our local hosts file. Then we can view the pages, without our half done work being made public or getting scanned by the search engines.
Using SME server 7.4 with the HTTP proxy disabled, this works just fine.
With the HTTP proxy enabled, I get a "Unable to determine IP address from host name for <domain>" error from squid withing my SME server.
Why does this happen? I would have expected my browser (Firefox) to use windows and therefore the hosts file to determine the IP - just like ping does. (I can ping the temp domain.) As squid will be told both IP and domain in the GET request, why is SQUID looking the IP up again?
Is it possible to I get hosts working with SQUID? My wife is moaning about poor responses from the internet since I turned it off.
I've spent some time on Google looking for answers, but I'm not sure what to search for.
Regards
Ian