Solved

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

Posted on 2004-04-21
2
214 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now