Solved

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

Posted on 2004-04-21
2
218 Views
Last Modified: 2010-04-13
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.
(127.0.0.1   www.mysite.com)
But each time I ping www.mysite.com, I resolve to the DHCP rendition of what IP that should go to.
I have rebooted.
Help?
b
0
Comment
Question by:rbender
2 Comments
 
LVL 1

Accepted Solution

by:
jon_godwin earned 30 total points
ID: 10880829
try ipconfig /flushdns from command prompt.  I also just used the hosts file.
0
 

Author Comment

by:rbender
ID: 10881012
Very good...works.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Application Deployment 2 264
VBScript not processed at Windows 8.1 logon 2 8,013
Windows 7 7 269
Screen Mirroring 7 77
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Building a successful professional career is a long and difficult journey, especially in case if your decisions are not chosen carefully. For example, if you think that you can get to the desired position without experience and apply for it, your ch…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question