We are going to share an awesome article on blocking particular websites on your computer. This will be very helpful if you want to get rid of some irritating websites.

[dropcap]T[/dropcap]oday we are here with the process for How to block websites on your Computer. We all share our laptops and desktop with our younger brother, sister, parents, children and with our friends too. And that time we need to make sure that the person who is using our laptop must not mistreat it. If they are working on the internet, we feel uncomfortable as we know that there are many sites that are not good for them or not safe to browse on PC.

Also Read: How To Create Undeletable & Unrenamable Folder In Windows

So today I am here with a method by which you can easily block any site on your PC. By this, you can make sure that your children, younger brother-sister are not misusing your PC. So just follow the below steps to proceed.

How to Block Particular Websites On Your Computer

The method is very simple and straightforward and is working fine and you can block no. of a site with the help of this. Just follow the below steps to proceed.

Steps To block websites on your PC/Computer In Windows:

Step 1. First of all, click on start and type “Windows explorer” and open windows system drive. Now browse the host file from the location C:\Windows\System32\Drivers\etc.

Also Read: How to Scan for Potentially Unwanted Applications with Windows Defender

Screenshot_1Step 2. Now you will see few files over there. You don’t need to do anything but you just need to copy the “host” file over then and take a backup of it.

gStep 3. Now open the “Host” file and edit it with a notepad.

block1-10964846Step 4. Type, tap the spacebar once and then type the address of a website you want to block. For example, to block all traffic from YouTube, type www.youtube.com on this line. And Save it. That’s it! You are done.

block2-10964843You can put many websites followed by the IP address. In case if you want to unblock any listed website, simply edit the “host” file and remove the desired website to be unblocked. This is by far the best and easiest way to block any website on your computer.

Also Read: Top 7 Best Encryption Software For Windows

Blocking Sites On Browser:

Block Site automatically blocks websites of your choice. Best for procrastination problem. Add a website you want to block in the options and it is automatically blocked. When you try to go to this page it will be redirected to a special blocked website

Step 1. First of all, download and install Block Site extension on your Google Chrome Browser.

Using Block Site
Using Block Site

Step 2. Once added, you will see the icon will show up in the extension manager. You need to right-click on it and choose “Option”

Using Block Site
Using Block Site

Step 3. Now you will see the screen like below.

Using Block Site
Using Block Site

Step 4. Now you need to enter the URL that you want to block and then click on “Add Page”

Using Block Site
Using Block Site

Step 5. You can even set the redirect URL after setting up the blocked sites.

That’s it! You are done. Now if you visit the blocked site, you will get the error message like this “site is blocked by Block Site”.

Using Block Site
Using Block Site

If you want to unblock the site then you need to right-click on the extension and then choose Option. Now you need to click on the remove button to unblock the blocked site.

Using Block Site
Using Block Site

Also Read: How To Create Invisible Folders In Windows (2 Methods)

So above is all about the method for How to block websites on your Computer. By this method, you can easily block any website in your PC and ensure your privacy and safety from another person that are using your laptops and computers. The method is very simple and easy to implement. Hope you like the post, don’t forget to share this post. leave a comment below if you facing any problem at any step.


  1. Please help me .My pc is facing a problem every time i start it shows the error 0xc000021a it it keeps on restarting

  2. A particular website kept opening on its own. It was very suspicious and was starting to get me nervous. I used the instructions on this site. So far so good. It has not opened itself again.

    I closed it so I don;t have the URL. It was advising me to update my Firefox but I had recently done that so I knew it wasn’t right.


Please enter your comment!
Please enter your name here