Library Technology – Reviews, Tips, Giveaways, Freeware

Tip to Block a Website on a Computer

Posted In Internet, Security - By Techtiplib on Tuesday, September 25th, 2012 With No Comments »

Internet is so open, you have got access to plenty of stuffs with few click of a mouse, this includes few things which you don’t want your kids to get access to, There are many applications available to block websites temporarily on a computer but the cost money, and are little complicated to operate.There is an easier and free option available to block few websites you want.

By editing the windows hosts file, you can block whatever website you want.

Step 1: Open Notepad (Run it as Administrator)

tech tips, tips, security, block website, internet

Step 2:  Open this path:


Select All Files in the dropdown, now open the file nameshosts.

(Refer to the image on the right hand side)

tech tips, tips, security, block website, internet

Step 3: You can add at the bottom and keep adding the websites in new line if you want to block more websites

tech tips, tips, security, block website, internet

Now, when you open the websites in your browser, you will get this webpage is not available message in Google Chrome, Internet Explorer cannot display the webpage in Internet Explorer and Unable to connect in Mozilla Firefox.

tech tips, tips, security, block website, internet

This method will work only on the computer on which the host file has been edited and you need full access to it. However, if you are looking for blocking websites on a Home or Office network you can read this articles about blocking websites on a router.


More contents in: ,

About - Hey, this blog belongs to me! I am the founder of TechTipLib and managing editor right now. And I love to hear what do you think about this article, leave comment below! Thank you so much...