I have this very strange and annoying problem with IE8 (standard version) on Vista64 sp1:
I set up my local hosts file with a couple of domains pointing at my localhost (127.0.0.1) and put a copy of the online versions of the websites on my local computer and run a webserver to display them. So far, that works perfect.
So example.com points to 127.0.0.1 and Example Web Page
to the online version. There are minor differences in both up-to-date content and page build-up, since I use my local computer as a production / test server.
When I go to the non-www version of the website in firefox or google chrome, it always
gets the local version.
However, in IE, this fails: Sometimes
I get the local version, sometimes
I get the online version. This also happens after I get the local version, but refresh a page or click on a link, yet sometimes
So basically I thought that the hosts file has a specific precedence over anything else when it comes to DNS-lookups?
Btw, my system is connected to the internet through a switch and then ADSL modem/router, configured to be the DHCP server in a NAT-situation. My system has a fixed IP though, because I need some of it's services externally...
I have a couple of VM's running occassionaly - so, not all the time - on both VMWare and Microsoft's virtual PC and thus I have two extra VMWare network connections and the local loopback network adapter installed, yet I already tried to turn these off.
The only situation I can create to overcome this problem, is by turning the standard LAN connection off, but, well, you know, this leaves me without internet connection... :-)
So basically, any suggesion or idea on how to solve this problem is welcome!