Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Having some issues running my code local.

I have host file setup like this:

if I ping that URL it kicks back from 127...

but if I browse there in firefox or IE it takes me to an old version of the site that is currently live instead of taking me to the local one...

I am running Windows 7

Any ideas?

NOTE: firefox set to no proxy

share|improve this question
up vote 2 down vote accepted

First run the following from an elevated command-prompt:


Then restart your browser.

share|improve this answer
this was the golden ticket, thanks – ioSamurai Sep 16 '09 at 14:14

I know Windows XP keeps it's own DNS cache distinct from the browser's cache. Not sure if Windows 7 does as well, but you can try running

ipconfig /flushdns

from a command line.

share|improve this answer

Clear your browser's local resolver cache.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.