Today Facebook had become a habit in their daily life. It has more disadvantages than advantages. Mainly youth and teenagers are addicted towards Facebook. This had become the most serious issue for today’s generation. There is definitely a need to limit or block the Facebook.
There are few people who really does not want to use Facebook but could not stop themselves. So here is the tip for all those people and the parents who want their children to stay away from Facebook.
What Is A Host File?
Host file is a simple list of host names and their IP address.
Three Simple Steps To Block Facebook Using Host File On Windows
- Go to C:\WINDOWS\system32\drivers\etc\hosts file
The path is same for all windows operating systems.
2. Open the hosts file in notepad.
3. At the end of the script add the following
Now try to open Facebook through your browser. As you had blocked Facebook you can never access it.
Recommended to read : Quit and delete Facebook account permanently
Sometimes this trick wont works with windows 8
So before performing the trick you had to add host file to exclude list.
Open windows defender application
Go to settings and add the host path to the exclude as shown below.
After adding, perform the above steps.
Way To Unblock Facebook?
You can unblock the Facebook by simply deleting 127.0.0.1 www.facebook.com from the hosts file.
- Take a backup of your host file before modifying.
- Not only Facebook you can also block other websites in similar way.
If i missed any point or had any problem let me know through comments