?
Solved

C:\WINDOWS\system32\drivers\etc\hosts redirecting not working

Posted on 2004-09-15
2
Medium Priority
?
1,900 Views
Last Modified: 2011-10-03
I need to use C:\WINDOWS\system32\drivers\etc\hosts to redirect hostnames to another IP but for some reason it's not working for me. On another computer on the same network it does work but not on mine. Is there any way that the redirecting could be disabled or not working? Does anyone know how i can fix this?
THX
0
Comment
Question by:neushoorn
2 Comments
 
LVL 85

Accepted Solution

by:
oBdA earned 500 total points
ID: 12068872
Assuming W2k or XP, open a command prompt and enter
ipconfig /flushdns
followed by
ipconfig /displaydns
In the second command, the entries you specified in the hosts file should be displayed.
If that is not the case, start regedit. Go to HKLM\System\CurrentControlSet\Services\Tcpip\Parameters; check the REG_EXPAND_SZ value "DataBasePath", which should be set to %Systemroot%\system32\drivers\etc. If it isn't, set it back, and do a thorough scan for spyware, as this is basically the only piece of software that changes this entry.
0
 

Author Comment

by:neushoorn
ID: 12069170
It was the "DataBasePath" vanlue that was changed. I've got everything working now
Thanks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

850 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