?
Solved

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

Posted on 2004-09-15
2
Medium Priority
?
1,894 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
[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 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
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…

777 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