I'm having some issues with my hosts file.
127.0.0.1 localhost 127.0.0.1 whatever 127.0.0.1 sub.localhost 127.0.0.1 example.com
whatever both work. However the others have weird behaviour.
c:\>ping sub.localhost Pinging sub.localhost [127.0.0.1] with 32 bytes of data:
C:\>ping example.com Pinging example.com [127.0.0.1] with 32 bytes of data:
All seems ok, but browsing example.com will open the correct example.com page @ 18.104.22.168 which is not the expected behaviour... (obviously sub.localhost wont work at all)
Any ideas why this happens?
Removing Proxy Configuration from browser solved it for
example.com however still not working...
UPDATE 2: Some more info...
C:\Documents and Settings\amatos>ping example.com Pinging example.com [127.0.0.1] with 32 bytes of data: C:\Documents and Settings\amatos>ping www.example.com Pinging www.example.com [127.0.0.1] with 32 bytes of data: C:\Documents and Settings\amatos>nslookup example.com Server: ac1.-------.pt (# suppose this is the router address...) Address: 192.168.202.2 Non-authoritative answer: Name: example.com Address: 22.214.171.124
Thanks to all that have tried to help so far!