Problem solve Get help with specific problems with your technologies, process and projects.

HOSTS file in Win2k Pro PC won't map Internet address to IP address

I'm using a Pentium III Compaq computer with Microsoft Windows 2000 Professional version 5.0.2128. I'm trying to use the HOSTS file to map an Internet address to a specific IP address, but it doesn't work no matter where I put the HOSTS file (because it's located in a WINNTsystem32driversetc folder. What should I do?

I'm wondering why you're working with an outdated beta copy of Windows 2000. I don't remember any specific issues in the beta with HOSTS, although there might have been. Let's try to pin down the actual error.

First of all, the location is correct for a default installation. There is a Registry entry that sets the default location.
Key: HKLM | System | CurrentControlSet | Services | TCPIP | Parameters
Value: DatabasePath
Data: %systemroot%System32Driversetc

Make sure no one has changed this value. If that's correct, then make sure you're using the default HOSTS file. It should have a little intro blurb from Microsoft and the loopback address

On a new line, enter the address of a server on your network and give it a fictitious name like BOGUS that is not in DNS or WINS or LMHOSTS. The name is not case-sensitive. Save the file then ping BOGUS. Does the system time out or just sit there or hang or report Invalid Name? Any of these symptoms indicate a problem with the HOSTS table. If you get a good ping, you know everything is working fine and you probably have a typo in the entry you?re trying to use.

Is this the only machine having this problem? Do your machines running the gold code of Windows 2000 (build 2195) have this problem? Is it possible that you have two installations of Windows 2000 on this machine and you?re working with the wrong directory? Write back with more symptoms if none of this works.

Dig Deeper on Windows Server storage management

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.