views:

28

answers:

1

Whenever I add an entry to the Hosts file on Windows, it takes a long time for the change to take place? I have tested using Firefox and IE and it seems to take around 5 minutes on both of them before the new IP/Domain entry on Hosts is recognised.

Is there anything I can do to overcome this? Perhaps "refreshing" the cache in some way? ipconfig /flushdns doesn't work.

+1  A: 

You have to close all browser windows after you edited the hosts file. (Make sure all IE processed are quit).

Jeroen