Tthis tutorial will teach you to specifically block facebook on your computer. This might be helpfull if you want to prevent students from using facebook in school and colleges or your employees in office. If you are parent and don't want you ***** to use facebook or any other particular site then follow simple steps given below. So lets get started.
How To Block Facebook ?
1. Go to
Start > Programmes > Accesories
2. Then Right click on
Notepad and Run it as
administrator.
3. Now open host file by clicking on
File > Open and locate to following address:
Code:
C:\WINDOWS\system32\drivers\etc
4. Then just below
# 127.0.0.1 localhost paste folowing code :
Code:
# Blocking Facebook
127.0.0.1 login.facebook.com
127.0.0.1 www.facebook.com
127.0.0.1 apps.facebook.com
127.0.0.1 blog.facebook.com
5. Now
save the host file and done.
6. Open any browser and try to open facebook. It won't open. If facebook opens then you might have done somthing wrong.
Blocking Other Websites :
If you want to block website other then facebook then change facebook address with whatever website you want to block. For example: to block google paste following code below
# 127.0.0.1 localhost
Code:
# block google
127.0.0.1 www.google.com