How to block a particular website on computer?

To block a particular website on your computer follow the following steps:

Step 1:

Go to


Step 2:

Open a host file in notepad. At the bottom of the line, you can see as follows localhost

Add the following line at the end

Ex: localhost

The above code is written to block website on my pc.

This entry was posted in Network and Security. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *