Vista ignoring hosts file.

cnewson

New Member
I have updated my hosts file (C:\Windows\System32\drivers\etc\hosts) to allow access to my webserver on 192.168.1.10 but when I type http://church Explorer displays the "Cannot display the webpage" webpage.
(Not a server problem as http://192.168.1.10 works and http://church works on an XP machine with an identical hosts file. Vista 64 currently sitting on 192.168.1.109 and can see all of 192.168.1.x.)

# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
::1 localhost
church 192.168.1.10
newson 192.168.1.10


I have tried flushing the DNS and rebooting Vista 64. Any other suggestions as to how to get Vista to use the new the hosts file? Thanks Chris.
 

My Computer

did you make the make the changes with a administrator

also i think the syntax is wrong
ip address host name
192.168.1.10 church
 

My Computer

System One

  • Manufacturer/Model
    Sony Vaio
    CPU
    Intel Core 2 duo
    Memory
    4 GB
    Graphics Card(s)
    ATI Mobility Radeon™ HD 3400 Series
    Screen Resolution
    1600x900
    Hard Drives
    400 GB
    Case
    Laptop
    Internet Speed
    DSL 2 Mbps in dec 16 yesssss
    Other Info
    We Can DO I.T.
Many thanks,

I did make the change as administrator but when I copied the hosts names and IP adresses from the hosts file on the XP machine (by hand reading off the screen) as you suggested I transposed the names and IP addresses.

Now you have pointed it out it seems so obvious but I have spent several hours barking up the Vista 64 tree rather than the hosts syntax tree!

Chris
 

My Computer

i think that sometimes when people have a lot things going on we over look the simpleset anwser and it always helps to have someone else to help you out i know i have done stuff like this many times before

i hope its working now
 

My Computer

System One

  • Manufacturer/Model
    Sony Vaio
    CPU
    Intel Core 2 duo
    Memory
    4 GB
    Graphics Card(s)
    ATI Mobility Radeon™ HD 3400 Series
    Screen Resolution
    1600x900
    Hard Drives
    400 GB
    Case
    Laptop
    Internet Speed
    DSL 2 Mbps in dec 16 yesssss
    Other Info
    We Can DO I.T.
Back
Top