How Can I Block Some Website? - PRsBlog
Home >> Internet >> How Can I Block Some Website?

How Can I Block Some Website?

When I was answering in Community Websites and some other Web Tutorials, Most frequent question I was asked was How Can I Block particular Website in my machine/my employees machine?

(How can i block some website permanently like ( and more social site on my employees computers.)

I have found a solution and Telling you.

Best way to block such site is using Router Setting if possible.

Prental control and Content Advisors are also Options but Are some traditional and annoying to Employee.
Best method to do so is Change some setting in Hosts File. I am going to tell you about that. To do so, You have to change some setting in individual PCs for doing so.

  1. Open Notepad with Administrator Rights.

 2.   Ctrl+O to Open File. Choose File Path Below.

Windir:(C: )WindowsSystem32driversetc

Change File Type to All Files from Right Bottom Corner.

Choose hosts file and open it.

You Will See below Lines at Last of Page

Now Just add this code to Block facebook
Using IPv4

Using IPv6

Now Just save this File. 

If you are using Antivirus, This may disinfect it, So Disable Real Time Protection for some time and After saving changes enable those Setting of Antivirus.

Hope, you enjoyed. For more Keep reading. You can add me on Google Plus.

About John Bhatt

Aka, Prithvi Raj Bhatt, A Proud Nepali, Blogger, Software Developer, ASP.NET, Web Designer & Developer, Faculty and a Troubleshooter blog @PRsBlog

Check Also

Java SE setup JDK

Here I’m ¬†sharing the way to setup pc for java SE development. First step here …

Leave a Reply

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