r/webdev•
__I__

hosts file and IE 11/Win 8.1

After upgrading to 8.1, IE ignores my hosts file with local domains.
Chrome/FF/Anything else resolves just fine.

Help!

[upd] tried disabling auto configuration in LAN settings, not fixed

[solved] As explained in this blog post, URLs should be added to Trusted Sites (Internet Options - Security). Alternatively, uncheck Enhanced Protection Mode to remove Loopback Restriction altogether.

Posted Jun 26, 2013, 7:47 PM UTC · edited

13
musicjerm•

I think I remember reading this was a new feature in IE 10. I pretty much can't test anything in IE anymore because of it. Can't use vHosts... Never found a solution either.

1
__I__OP•

IE 10 metro ignored hosts, but desktop version still used it..

1
Fabien4•

Never found a solution either.

I suppose the only solution would be to use a DNS (either on your own PC, or on a nearby PC if you're using a tablet) that replies "authoritative 127.0.0.1" for *.mylocaldomain and uses a normal recursive search for everything else.

I've used Posadis for that kind of stuff (back when I didn't have Linux virtual servers), but it's very old, so, I'm not sure how it'd fare on Windows 8. (I've tried BIND on Windows, but failed. Back then, it was a really poor port of a very unixy piece of software.)

1