tips and tricks

How To Block Websites On Computer

You-can-easily-block-any-website-on-your-computer-by-doing-simple-steps



The Internet is the most useful and informative thing, but for children’s it can be dangerous. If you are a parent then you may want to block some websites in the computer to restrict kids. In this article, I will show you how to block the website from opening on the computer. 

You can easily block any website on your computer by doing simple steps. This method will block any website on your computer and next time that website will not open in your browser. You can also unblock the blocked website by just removing the lines which you will add in the 4th step below.

How To Block Websites On Computer:

In this tutorial, I will show you how to block Facebook.com so let’s start.

Step#1: Press “WIN+R” to open Run window and then type or paste this:  %windir%system32driversetc     and press enter.

You-can-easily-block-any-website-on-your-computer-by-doing-simple-steps


Step#2:  Now another window will open. In which you can see 4-5 files.

You-can-easily-block-any-website-on-your-computer-by-doing-simple-steps


Step#3: Now from start menu open note as administrator. And then open hosts file with that notepad by navigating this:  C:WindowsSystem32driversetc.

You-can-easily-block-any-website-on-your-computer-by-doing-simple-steps


Step#4: Because in this article I will going to block facebook so, you have to write this just below localhost. See in the picture.

You-can-easily-block-any-website-on-your-computer-by-doing-simple-steps


Now you have successfully blocked Facebook on your computer. But if you want to block another website then just change the facebook.com with another website address.

Note:

If you want to unlock the blocked website on your computer just remove these lines.

Conclusion:

In this article, you have learned about how to block websites on the computer. From this method, you can block any website on your computer. This website will never open in your browser again until you remove those lines from the hosts file. 
Feel free to comment below if you have any queries.

Farhan khursheed

Farhan Khursheed is a passionate blogger from Karachi, Pakistan. He loves to write about SEO, Internet tips, and tricks, and earn online. He also loves programming.

Related Articles

Leave a Reply

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

Check Also

Close
Close
www.000webhost.com