The location of the hosts file depends on your operation system.
Windows XP, Vista and Windows 7 C:\WINDOWS\system32\drivers\etc\hosts
Windows 2000 C:\WINNT\system32\drivers\etc\hosts
Windows 98/ME C:\WINDOWS\hosts
Note! Make a backup of the hosts file and put it somewhere safe, in case you mess up.
1. Open the hosts file using Notepad or other plain text editor.
2. Copy the following:
# block facebook
127.0.0.1 login.facebook.com
127.0.0.1 http://www.facebook.com
127.0.0.1 blog.facebook.com
127.0.0.1 apps.facebook.com
3. Paste them into the Hosts file after 127.0.0.1 localhost
4. Save and close the Hosts file.
5. Reboot your computer to apply the changes.
6. Try to open Facebook into a browser.
Windows XP, Vista and Windows 7 C:\WINDOWS\system32\drivers\etc\hosts
Windows 2000 C:\WINNT\system32\drivers\etc\hosts
Windows 98/ME C:\WINDOWS\hosts
Note! Make a backup of the hosts file and put it somewhere safe, in case you mess up.
1. Open the hosts file using Notepad or other plain text editor.
2. Copy the following:
# block facebook
127.0.0.1 login.facebook.com
127.0.0.1 http://www.facebook.com
127.0.0.1 blog.facebook.com
127.0.0.1 apps.facebook.com
3. Paste them into the Hosts file after 127.0.0.1 localhost
4. Save and close the Hosts file.
5. Reboot your computer to apply the changes.
6. Try to open Facebook into a browser.
Comments
Post a Comment