Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-04-21
2
Medium Priority
?
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
jon_godwin earned 120 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
Working from home is a dream for many people who aren’t happy about getting up early, going to the office, and spending long hours at work. There are lots of benefits of remote work for employees.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

610 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