?
Solved

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

Posted on 2004-04-21
2
Medium Priority
?
221 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

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…
The Summer 2017 Scholarship Winners have been announced!
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

752 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