How to Block Websites on Chrome, Firefox and Edge Browser

Internet has lot of content that you may not want to access from home. In such cases parental controls can be useful to block certain websites. Often such parental control apps are not affordable for most users. There are plenty of options that you can try without having to spend money. In this article, we are going to discuss some of these methods to block websites on browser.

There are times when you don't want your family to access certain websites. In such cases, you have an option to block those domains. Depending on the type of operating system you use, there are different methods to achieve this task. If you are using Mac or Linux operating system then there are many shell scripts and apps that you can use to block websites. For this article, we are going to take a look at some of the browser specific and Windows OS specific options.

Windows System Hosts File

You can block the instance of the website from entire desktop. In order to do this, you have to edit hosts file and point the website access to localhost. And by doing this keeps the website in a loop. Any user who types the website name gets redirected to the web address "". If there is no local server running on that instance leads to "Page can't found" error.

Follow the steps below to edit the hosts file.

1. Click on the start button.
2. Type in the following path "C:/Windows/System32/drivers/etc".
If your windows installation is on D: drive then change the path accordingly.
3. Right click on the hosts file and open the file in Notepad using "Admin Privileges".
4. Now type the following
Replace with the website you wish to block.
5. Save the file.

Now open any browser of your choice. Type the name of the website and you'll get an error. If you don't see any error, that means the hosts file is still write protected. Open the file in UAC mode and follow the steps above.

OpenDNS Domain Blocking

If you are using OpenDNS on your computer then you can easily setup parental controls. These controls help you block the certain websites per computer or per network group. Follow the steps below to use OpenDNS to block the websites.

1. Go to OpenDNS dashboard by login into your account.
2. Go to "Web Content Filtering".
3. Check 'Manage individual domains".
4. Insert the name of your domain and select option "Always block".
5. Save the settings.

This should stop the website from accessing the domain you wish to block. You can also use the family-shield option if you have kids at home. However the family-shield makes use of it's own list of websites to block.

Chrome Extensions

There are multiple extensions that allow you to block the domains. One of the effective extension for blocking custom extension is "StayFocused".

This extension helps you block certain websites and you can only enable them by clicking on the extension icon. It helps to keep tab on your addiction. And some of the times this extension can be used for parental filter. You can also time the block and set a challenge to access the website. If you don't want to block entire domain but specific page, then you can do that too. The extension itself holds a lot of blocked sites list that you can use to avoid surfing on those websites.

Apart from Stayfocused you can also take a look at extensions like - Chrome Nanny, Block Site and TinyFilter. Do read the reviews of such extensions before downloading as some of the extensions have issues with the malware.

Firefox Add-ons

Like Chrome, even Firefox has set of add-ons that help to block the domains. Depending on the type of flexibility you want for browsing you can install add-ons accordingly. BlockSite is one add-on that can help you block the individual domains. It has few options that also be configured to set notification and the logs. So you can understand how many times the domain was accessed.

Apart from Blocksite you can take look at Add-ons like - Parental control and Leechblock. As these add-ons can help you manage the website blocking with timer controls and logs. Leechblock is popular and trustworthy however some users have noticed that the usage affects other add-ons on browser. Do note that creating profile also helps while managing such add-ons.

Block on Microsoft Edge

In case of Microsoft Edge, you have very limited set of options as of now. As the browser lacks the extensions for the current version. You have to use the internal settings in order to configure website blocking. You have to use Content adviser in your Microsoft account to set parental controls. If you choose to use Microsoft account, then setting a block on domain definitely helps. In order to block the websites using the parental controls. Access the portal from this link:

If this is your only functional browser then either switch to other browsers or use Parental filter software for your version of Windows.

Block on Internet Explorer

The browser is going to be out of support in a few years. However there are some of the users who are likely to be using this browser for next few years. In such case you can use the following steps the block the website domain on internet explorer.

1. Open Internet Explorer.
2. Click on Options menu.
3. Go to content tab in the dialog box.
4. Enable content adviser.
5. Click on approved sites tab.
6. Use following format to add domain - *
7. Click on Never button.
8. Save the settings by clicking on Ok button.
9. Now select "General" tab from the content adviser.
10. Select Users can see websites that have no ratings checkbox.
11. Check the Supervisor password region. Click on change password.
12. Set the password for the supervisor. Make sure only you know this password as this password allows to modify the access to the website.

This process helps you avoid the domain from being accessed using the Internet explorer browser. Next time you try to access the website it'll ask you for password and only with password you can get into the content.


These are some of the options for you to block the websites on your computer. You can use some of the parental filter software too. However most of them are premium version and often not affordable. In such case the above explained methods are more than enough to block websites on browser.