December 19, 2016 Block Websites on Windows

How to Block Websites on Windows Computers

There are several reasons as to why you may have to block specific websites on a computer. In general, you may have to restrict the content that specific people may access when using your computer. In such a case, you may have to block websites on Windows either entirely or only for a specific period. Either way, to block websites on Windows is an easy process. Interestingly, you do not have to install any software to restrict access to specific websites on your computer. All you need to do is carry out specific changes to the Windows host files feature.

Block Websites on Windows
Credit: PublicDomainPictures / Pixabay

5 Steps to Block Websites on Windows

Here is how you can successfully block specific websites on your Windows computer.

Step one: Accessing the Windows operating system

The first step in this process is to access the operating system. In general, you will get the operating system in the disk labelled, C. However, in some computers, the operating system may be in a disk carrying a different name. Either way, you will have to get to the disk that carries the operating system as the first step of the process of blocking websites on your computer.

Read More: Unblock Video Websites – Learn the 2 Best Methods

You can get to the operating system by starting from the Windows Explorer feature on your computer.

Step Two: Accessing hosts

The second step in the process is accessing hosts. Essentially, the success of blocking any website on your computer depends on how well you manage some changes on the hosts feature. Therefore, you have to be careful when accessing this feature and making some changes to it.

Remember to open the hosts in Notepad. Ideally, the feature will ask you to choose a program. If this is the case, make sure that you choose Notepad. However, it is possible for your system to open hosts using a different program. If your computer opens hosts using a different program, please remember to change the program to Notepad. It is only when using Notepad that you can comfortably change the specifics of your hosts and block specific websites.

Step Three: Creating a new line

At the end of the last line of your hosts, you should move the cursor to the last letter of the line. You should then use the ‘enter’ key on your computer to create a new line of hosts on the notepad. Note that this is possible when you are using Notepad only.

Step Four: Keying in site addresses

At this stage, you will have to key in the addresses of all the sites that you would like to block. Using a new line on the Notepad, you will have to text the following: ‘’

You will then have to insert space immediately after the ‘1’. You will then key in the address of the specific site you would like to block. As it is the norm, start the address with, ‘www.’

For example, if you wish to block a site called, ‘Block Me Here’, your new line on the Notepad will look like this:

You can follow this procedure and add as many addresses as possible.

Step Five: Saving your changes

At this stage, you will have to save the changes that you would have made on the hosts. You can save the changes by accessing the ‘File’ feature and then selecting the option for saving your changes. At this stage, your antivirus program will issue warnings to you; you do not have to heed the warnings. Proceed to save all the changes that you would have made to hosts.

Read More: 4 Simple Methods to Keep Children Safe Online

Once you have done this, you would have successfully blocked all the selected sites on your computer. You may try to access the files afresh as a way of testing whether your changes are effective or not. You will realise that it is impossible to access all the sites that you would have added to your hosts.


In conclusion, this is the simplest method that you can use to block websites on Windows computer. Bear in mind that there are several methods that you can use to block websites on your computer. However, some methods are quite complicated. Besides, you may have to download and install software programs on your computer. However, by changing hosts, you can effectively block specific websites without using any software program.

Tagged on:

2 thoughts on “How to Block Websites on Windows Computers

Leave a Reply

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