Sometimes we need to block some particular websites on our PC's. I am going to explain a simple method that anyone can do to block particular websites on their computers. Follow this tutorial:
- Browse to -> C:\WINDOWS\system32\drivers\etc
- Find the file named "HOSTS" and open it in notepad.
- Under "127.0.0.1 localhost" Add 127.0.0.2 www.iwantthissiteblocked.com , and that site will no longer be accessible on your computer.
- To block another website, simple add "127.0.0.3 www.iwantthissiteblocked-2.com" and so on.
Here is an example of my "HOSTS" file--
Here Orkut & Facebook will be blocked on my computer.
To again access these websites, simply remove these lines form your HOSTS file.