How to Block a Website

Posted on 22 December 2011

Step 1
Click Start > Run. Type notepad C:/Windows/System32/drivers/etc/hosts in the “Open:” field and click OK.
                                                                             
Step 2 

A notepad will pop up. Find the line where it says “127.0.0.1 localhost 

Step 3

Immediately under the “127.0.0.1 localhost“, enter the website you want to block by using the format “127.0.0.1 website.com”. For example, you want to block Google from being accessed then type : 
127.0.0.1 www.google.com
 You can block as many websites as you want, just make sure you only enter one URL per line.
 

No comments:

Post a Comment