Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Having some issues running my code local.

I have host file setup like this:

127.0.0.1 ryan.local.myappname.com

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

3 Answers 3

up vote 2 down vote accepted

First run the following from an elevated command-prompt:

IPCONFIG /FLUSHDNS

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

 
discard

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.