How can I make Win2000 look at the "hosts" file?

I am running Win2000 pro and connect to my LAN via DHCP.
I want to hard-code an IP into the Hosts file so that when I ping that "www." location, it resolves to the IP hard-coded in the HOSTS file.
It won't work.
I have gone into WINDOW2000/SYSTEM32/DRIVERS/ETC/HOSTS and also WINDOW2000/SYSTEM32/DRIVERS/ETC/LMHOSTS and changed each to reflect what I want.
But each time I ping, I resolve to the DHCP rendition of what IP that should go to.
I have rebooted.
Who is Participating?
jon_godwinConnect With a Mentor Commented:
try ipconfig /flushdns from command prompt.  I also just used the hosts file.
rbenderAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.