By Ishant Gupta
Sometimes you must have felt the need to block certain
websites. For doing this, go to My Computer, then go to C drive. Go to Windows
folder. Click System 32. Then, go to Drivers folder and then go to etc and click hosts. Open it with notepad. At the very end, you will find the following: 127.0.0.1 localhost.
Press
Enter after these words and
on the next line, type 127.0.0.1.
Then, click Spacebar
button and then type the name of the website to be blocked. Then save this file.
Delete the internet browser history. Now, if you try to open the website, it
will not open. Similarly, if you want to block another website you can type the
name of that website on the next line in the file. If you want to be able to
open a website again, delete the corresponding entry from the hosts file. Then you will be able to access the website
again.