This is very strange issue. I'm on Windows XP. I have tried to put
41.41.41.41 facebook.com
41.41.41.41 www.facebook.com
into C:\WINDOWS\system32\drivers\etc/hosts. When I tried to save the file, it said me I do not have enough permissions (I'm admin). So I have just deleted the hosts file and saved the one I wanted. Suddenly, when I go to facebook.com, Facebook login screen appears. When I try to
ping www.facebook.com
I get (translated following text from Czech)
Command PING to www.facebook.com [41.41.41.41] with 32 bytes length:
Response from 41.41.41.41: bajts=32 time=66ms TTL=53
Response from 41.41.41.41: bajts=32 time=81ms TTL=53
Response from 41.41.41.41: bajts=32 time=114ms TTL=53
Response from 41.41.41.41: bajts=32 time=123ms TTL=53
(I have real IP instead of 41.41.41.41, but I don't want to share it here)
Even worse thing is, that when I try to go to https://facebook.com, I get connection error (Because it's problably trying to connect the server specified, which doen't have the https supported
Why is this happening? Is there some specific reason why is it still connecting to facebook?
Additionally, I have tried to / I know that
- flush DNS with cmd
- checked if I'm not using browser's proxy (no, I'm not)
- connect to https://facebook.com - it fails, it means that the real Facebook server isn't reached when using https
- AVG has expired lincense, therefore it shouldn't act on my PC anymore
- that the same problem happens on IE and on Firefox, too

ipconfig /flushdns– Sathya♦ Nov 24 '11 at 13:38(I have real IP instead of 41.41.41.41, but I don't want to share it here)– genesis Nov 24 '11 at 13:55