Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Internet»How to Block Websites on Chrome

How to Block Websites on Chrome

Grishma GhaleBy Grishma GhaleFebruary 9, 2023
how-to-block-websites-on-chrome

Whether you’re a parent, a leader in an organization, or you just want to be more productive, there are many ways to block websites on Chrome. These methods include using extensions, editing the hosts file, changing router settings, and blocking on Google WorkSpace. But before blocking the important websites it is vital to have the necessary access to certain portals or you must be the administrator. 

Table of Contents

  • Editing Hosts File
  • Using Extensions
  • Using Google WorkSpace 
  • Through Router Settings

Editing Hosts File

You can simply block one or multiple websites at once by editing your Hosts file. This is a type of file inside the %windir%\system32\drivers\etc folder. It’s helpful in mapping the hostname to the static IP addresses. Then, your browser will continue with the site as per the commands in the Hosts file and won’t pass through the DNS server. 

Although it sounds complicated, it’s straightforward to block websites in this manner. All we need to do is add the IP and the domain data inside the Hosts file and then save it. 

Note: You can only make changes to the Hosts file with the Administrator’s permission.
  1. We need to open the file in a Text Editor, like Notepad. So, search for Notepad from the search bar. 
  2. From the search results, right-click on it and select the Run as Administrator option. Click Yes to allow permission. 
    open-notepad
  3. When the Notepad opens, click on File > Open or press the keyboard shortcut Ctrl + O.
  4.  In the File Explorer window, type this pathway %windir%\system32\drivers\etc in the address bar. Press Enter. 
  5. You won’t see any files right now. In the File format box, click and change to All Files. This is because this method doesn’t support .txt documents. 
    hosts-file-location-content
  6. Select and open the Hosts file at the top. Now, it will open in the Notepad app. 
  7. Now, check the bottom of the text and you’ll find the localhost name details here. Just below it is where you need to add your IP. 
    localhost-file
  8. You won’t need to add the # symbol as it only signifies a comment. Directly copy or type your IP as in 127.0.0.1 and enter the same amount of spaces as the localhost data above to avoid any errors. Then, add your desired website. For example, we’re experimenting with twitter.com.
    block-website-on-hosts-file
  9. Again, type other static IP addresses, such as www.twitter.com, m.twitter.com. This is because they all are slightly different. 
  10. Finally, click on File > Save or press Ctrl + S to save changes to the file. 
    save-hosts-file
  11. Reload your browser and check if the website is blocked properly. 

When following this method, you may find that it’s not working properly or the website is blocked only on other browsers and not on Chrome. This can be the case due to accumulated DNS cache data and cookies.

First, try flushing the DNS cache by entering this URL on the Chrome browser chrome://net-internals/#dns. On the webpage that opens, type your specific domains in the text field and then press Enter. Then, click on Clear Host Cache. 

DNS-cache-flush

If you’re still having issues with it, you can check Chrome’s settings. Unlike other browsers, Chrome stores and uses its cookies to load website data. In such cases, the Hosts file may not help. So, we’ll need to block cookies for the website as well.

Using Extensions

If you don’t have much time, the simplest method to block websites is by using certain extensions from the Chrome Web Store. For instance, a popular extension is BlockSite. Simply add it to your browser by following these steps: 

  1. Visit the Chrome Web Store and enter the keyword “BlockSite” in the search bar. 
  2. Open the extension and then click on the Add to Chrome option. 
    blocksite-extension
  3. Then, select the Add Extension option again. 
  4. BlockSite extension will now automatically open and then you can choose to block any website of your choice. 

Similarly, you can also find the website-blocking feature on productivity-related extensions, like Forest or Calm for Chrome. While using these extensions, you can manually select to block certain websites during the time you want to focus.

On your phone, there are different ways to block websites on Android and iPhone. On Android, you can choose to download the BlockSite app. On an iPhone, you won’t need to use third-party apps. You can instead directly block sites from the settings. 

  1. Go to Settings and then select Screen Time. 
  2. Navigate to Content Restrictions. 
    content-restrictions
  3. Scroll down and select Web Content. 
  4. Tap on Limit Adult Websites. 
  5. Below the Never Allow section, hit on Add Website and type the website URL of your choice. 
    limit-adult-websites
  6. The set website will now not load on your Chrome app. 

Using Google WorkSpace 

If you’re an admin or even a Super admin of an organization in Google WorkSpace, you get privileges to block certain websites. So, your team won’t have access tosuch sites unless they’re removed from the list. You can alter and block up to 1000 websites. 

  1. Log in to Google Admin Console with the URL: admin.google.com 
  2. Make sure you’re using the administrator account. 
  3. On the homepage, navigate to Devices > Chrome. 
  4. Go to Settings > Users & Browsers.
  5. Select the top Organizational Unit option to make sure this setting is effective on all users and relevant browsers. 
  6. Navigate to the URL Blocking section and then add the URLs of specific websites. These will now display in the Blocked URLs list. Later, you can also check out this list by going to Users & browsers > URL blocklist. 
  7. Click on Save. 

Through Router Settings

Blocking websites by configuring your router settings depends on whether your router allows it and if you have access to its admin page. If you do, there are simple steps to block certain URLs directly from the settings. 

  1. If you don’t know what your router’s IP address is, you can check it using the command prompt. On the search bar, type cmd and open Command Prompt. 
  2. Type ipconfig. Press Enter. 
  3. You’ll notice a lot of data. Among them, you can find the IP address beside the Default Gateway option. 
    default-gateway-ip-address
  4. Then, open Chrome and paste Default gateway address in the browser’s address bar.
  5. After that, log in to your router’s homepage. 
    router-ip-address
  6. Look for Blocking or Security-related settings. In our case, we’re going to the Advanced tab and then selecting URL Block. Depending on the router’s brand, there might be a difference in the context menu. If you have similar settings, make sure to enable URL Blocking Capability. Click on Apply Changes.
    URL-blocking
  7. Then, enter the URL of the website you want to block in the Keyword section. Here, we’re adding www.facebook.com as an example. Once you’ve added the websites of your choice, you’ll see them in the table below.
    block-website
  8. Now, you can save changes and exit the page.
how-to
Grishma Ghale
  • LinkedIn

As a veteran Apple user, Grishma Ghale is a fan of its products and loves to write about anything iOS/macOS. Besides that, she also writes about other platforms she enjoys, like Windows, Netflix and other productivity software. At TechNewsToday, she tests with multiple Apple or Windows devices and software to write about only the verified solutions for your ease. She has a total of 7 years of experience as a Content Writer/Editor and a Master's Degree in Literature under her belt. It was around 3 years ago that she ventured into learning and writing about Tech. It's because she believes it's almost a necessity, given our relationship with technology today. During leisurely hours, she indulges in afternoon tea while writing poems and short stories, journaling, and reading books. She’s also a coffee lover, a croissant connoisseur, and a singer - a self-proclaimed one of course. You can contact her at grishma@technewstoday.com

Related Posts

chat gpt not working

Chat GPT Not Working? 6 Ways to Fix It

May 10, 2023
How to stop buffering while streaming

How to Stop Buffering While Streaming? 10 Best Ways

May 5, 2023
how-to-send-large-files-via-email

How to Send Large Files via Email? 3 Easy Ways

May 2, 2023
youtube app not working

YouTube App Not Working? How to Fix It

April 26, 2023
right click disabled

6 Ways to Enable a Disabled Right Click on Website

April 17, 2023
error code 1020

What is Error 1020: Access Denied? How to Fix it

April 11, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
Best-1200W-PSU

8 Best 1200W PSUs for Extreme PC Builds in 2023

May 16, 2023
Best-1000W-PSU

10 Best 1000W PSUs in 2023

May 16, 2023
best-700w-psu

10 Best 700W PSUs for Gaming in 2023

May 14, 2023
You may also like
antimalware service executable high memory

Fix: Antimalware Service Executable High Memory

May 18, 2023
printer-printing-pink

Why is My Printer Printing Pink? 6 Ways to Fix It

May 18, 2023
how to clean usb c port

How to Clean USB-C Port Safely

May 17, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.