January 13, 2012 07:20 by
Scott
If you would like to block a website from being viewed on your Windows computer, follow these steps:
1. You need to run C:\WINDOWS\system32\drivers\etc
2. Then, backup the hosts file.
3. Open hosts file there from the notepad.
4. At the end of the line you can see as per below.
127.0.0.1 localhost
5. Append the following line at the end
127.0.0.1 BlockSitename.com # replace the BlockSitename.com with the site name that you want to block.
6. Then go to Start->Run-> type ipconfig /flushdns