If by any chance you want to block the access to a specific website from your computer, Windows provides you the way to do this by editing the hosts file. This way you’ll be able to put aside websites you no longer want to be accessed from your computer.
The file is located in ‘C:\Windows\System32\Drivers\etc’ and can be accessed with Notepad. Browse to Start – All Programs – Accessories, right click on Notepad and select “Run as Administrator”. Use the File – Open option and browse to the host.ini location and then select and open the file in Notepad.
You’ll notice that there’s some content in this file. You don’t need to change anything, just add the following line, or lines, at the end of the existing content:
127.0.0.1 www.blocked-website1.com
You can block as many websites as you want but keep in mind that the host.ini file shouldn’t get to big.
This method can be used to block websites on Windows XP, Windows Vista & Windows 7.
