Zigawaguay
New member
- Local time
- 9:49 AM
- Messages
- 3
I have a webserver in my network with the address 192.168.10.110 with several websites running on it. To play around with all the different websites but without having to change the DNS server in our company, I'm using the hosts file:
%SystemRoot%\System32\drivers\etc\hosts
Right now it's like this:
192.168.10.110 example (separated by tab)
Now if I ping "example", the system tells me that the host is not reachable. If I ping the IP address, it works just fine. For the website I need a name though.
THIS HAS ALWAYS WORKED UNTIL A FEW DAYS AGO! Since about 2 days, my system just ignores what's in my hosts file and I'm running out of ideas what this could cause.
I have tried the following:
- Copied the original untouched hosts file from another computer, added a single entry and it didn't work
- Deleted all the entries but one. I have separated it by space and by tab (tab has always worked)
- Tried different codings of the file from Notepad++ (ANSI, UTF-8)
If somebody has an idea, I would appreciate it.
System: Windows 7 Professional, 64bit
%SystemRoot%\System32\drivers\etc\hosts
Right now it's like this:
192.168.10.110 example (separated by tab)
Now if I ping "example", the system tells me that the host is not reachable. If I ping the IP address, it works just fine. For the website I need a name though.
THIS HAS ALWAYS WORKED UNTIL A FEW DAYS AGO! Since about 2 days, my system just ignores what's in my hosts file and I'm running out of ideas what this could cause.
I have tried the following:
- Copied the original untouched hosts file from another computer, added a single entry and it didn't work
- Deleted all the entries but one. I have separated it by space and by tab (tab has always worked)
- Tried different codings of the file from Notepad++ (ANSI, UTF-8)
If somebody has an idea, I would appreciate it.
System: Windows 7 Professional, 64bit
My Computer
At a glance
Windows 7 Professional 64bitIntel i5-3470S @2.90GHz4.00GB
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- lenovo
- OS
- Windows 7 Professional 64bit
- CPU
- Intel i5-3470S @2.90GHz
- Memory
- 4.00GB