Solved

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

Posted on 2004-09-15
2
1,876 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 83

Accepted Solution

by:
oBdA earned 125 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access shared drive during VPN session 9 108
USB on Hyper-V VM Server 2012R2 13 103
How To Delete Old VPN Generated Connections 3 66
Domain join remote sites or not 3 60
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…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

810 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