This article was written in order to show you the simple trick on how to block any website from opening on your PC without making use of any software.
Recommended: How to prevent A program from Accessing the Internet Automatically
Sometimes you might wish to block a particular website (mostly porn sites) from been accessed on your PC, there are various softwares out there that can be used for this purpose. But today am going to show you how to block any website from opening on your Laptop/Desktop Computer without the use of any software.
HOW TO BLOCK ANY WEBSITE FROM OPENING ON PC:
• First of all, click my Computer and goto path. C>Windows>system32->and then go to drivers->etc.
• In the drivers folder found in the above step, you will find a file named "hosts", now open this file with notepad.
• After opening this file with notepad, you will see the last two line like that
# 127.0.0.1 localhost
# ::1 localhost.
• Now assuming you want to block facebook.com from opening on your PC, then type this in the notepad file
127.0.0.1 www.facebook.com
as shown in the below image.
• Change the facebook.com to the particular site you wish to block. After finished editing, click on save.
You have now successfully blocked your desired website from being accessed on your PC.
Was this article helpful to you,
Why not leave us a comment below And don't forget to share this post with friends and family.











Your comments and opinion are appreciated.
ReplyDeleteThis is good, but looks like you'll have to know the particular site you wish to block before trying this out..
ReplyDeleteYea your browser history might come in handy
DeletePG: parental guide. very much useful to parents for locking their kids from malicious websites. nice mate.
ReplyDeleteYeah kelving its gonna really help parents to prevent their children from visiting PG websites, just wish all perents will see this.
DeleteYeah kelvin its gonna really help parents to prevent their children from visiting PG websites, just wish all perents will see this.
DeleteWill look into that
ReplyDeleteDont Process
ReplyDelete