How to Block Facebook  Website on your Computer:

Hi friends today I will tell you how to block Facebook on your computer.

This trick helps you to prevent employees from using Facebook in office and student in schools,colleges and universities.

How it works?

Web browsers will check the DNS entry in Host file on your computer before opening any website, if DNS entry is not found for specific website, then it goes to Internet service provider to get IP address of website, if you enter Facebook entry in your host file with wrong IP address then while loading Facebook website web browsers try to load Facebook with wrong the IP address.

Follow the below steps to block Facebook in your computer.

Step 1: Open your hosts file with notepad (Go to run and type notepad C:\Windows\System32\drivers\etc\hosts and hit enter.

BlockfbStep 2: Add the following code below # localhost

>>>Click Here to Know How to Edit Host File

Blockfb1Note:  In above code you can replace with any wrong IP address.

Ex : Here I am replacing with

Step 3: Save your host file and test it.

Open any web browser and try to open Facebook it won’t open.

That’s it.

Enjoy 🙂

Thank you for visiting  If you find any mistakes help us by leaving a comment.

Don’t Miss : How to create a Shortcut to Quickly edit your Hosts file.