Link to home
Start Free TrialLog in
Avatar of Vlearns
Vlearns

asked on

Host file mapping does not work

Hi,

I am running Win XP Pro
I changed my hosts fle in C:\WINDOWS\system32\drivers\etc\hosts
to resolve some specific addresses instead of their default dns resolutions.

ip address1    www.xxxxx.com
ip address 2   www.yyyy.com

However when i type in www.xxxx.com in a browser i still go to default dns resolved name.
Something is overriding my entries in the hosts file.

Has anyone come across this problem. Can anyone outline steps for me to debug this problem




Avatar of stevenlewis
stevenlewis

Hi Vlearns,
try this
go to a prompt and type
ipconfig /flushdns
then try

Cheers!
ASKER CERTIFIED SOLUTION
Avatar of stevenlewis
stevenlewis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Vlearns

ASKER

ipconfig /flushdns  did not work
 
some other problem.

check my other link, have seen this once before, where the name resolution order got changed in the reg
Avatar of Vlearns

ASKER

that didnt work either :(
Did you reboot ?
Avatar of Vlearns

ASKER

yes that didnt help

The problem was solved eventually.
The reason was that dns client had to be shut down
and the proxy had to be disabled at the same time.

Avatar of Vlearns

ASKER

run services.msc from run menu in windows
locate dns client , shut it down
uncheck IE->Tools->Internet Options->Connections->Lan settings->Use Proxy
restart dns