Solved

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

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

Accepted Solution

by:
oBdA earned 125 total points
Comment Utility
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
Comment Utility
It was the "DataBasePath" vanlue that was changed. I've got everything working now
Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 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

9 Experts available now in Live!

Get 1:1 Help Now