Tuesday, 7 June 2011

Host file not working

I had my website folder e.g. C:\www\wesbite1
I created an IIS 7.5 website e.g. Website1 with the host name = website1.dev
I pinged website1.dev and received a reply

Then when I goto http://website1.dev I get an error:

Cannot find server - DNS fail

What the hell?

Then I remembered that I'm using a proxy and I had to ignore website1.dev in the proxy settings of my browser. This can be found in Firefox > Options > Advanced > Network > Connection Settings > No proxy for:

Hope this helps.

No comments: