Home / socialmedia / Facebook / Block Facebook Using Host File In Windows

Block Facebook Using Host File In Windows

Publisher: Facebook
License: Free
Filesize: 0M B
Price: 0$
Date added: July 10, 2013
Downloads:

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

  1. 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

127.0.0.1      www.facebook.com

how to block facebook using host file in windows 2

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

Note:

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.

how to block facebook using host file in windows

Way To Unblock Facebook?

You can unblock the Facebook by simply deleting 127.0.0.1 www.facebook.com  from the hosts file.

Also Read : Take a Screenshot on Android Mobile Phone without Root

Extra tip:

  • 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

Click For Disable Seen Feature In Facebook Messages

About Amar

Leave a Reply

Your email address will not be published. Required fields are marked *

*


three × 7 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Scroll To Top