How To Block Website On PC – Guide

Windows 10 has built-in parental controls that allow you to block websites from the Microsoft Edge web browser. This can help keep your kids safe when they use your computer unattended. However, to block websites, your child must have their own Windows user account and log in – they can’t just use your account because you can’t block websites on adult accounts.

This guide will show you how to use parental controls on your laptop. You can use these controls to protect your children from dubious websites, or yourself from distracting websites at work. This guide is specific to laptops, and some routers may have parental controls built in.

How to block a website on your computer

How to Block any website on Windows computers

Make sure you have administrator access on your computer so that you can correct any errors or problems. Log into your PC using an administrator account and go to C:WindowsSystem32driversetc

In the hosts file, you will need to add a new line to the bottom of the file, which will be # 127.0.0.1 localhost and # ::1 localhost.

To block websites, add a line to the final from the file, with 127.0.0.1 and then the name of the website you want to block – this will redirect the website name to your local computer.

To block Google, add “127.0.0.1 www.google.com” to the final of the file without the quotes. You can block as many sites as you like this way, but remember that you can only add one per line. ..

  1. Open your web browser and type “https://www.google.com” into the address bar.
  2. Click the “Search” button on the toolbar and type “blocklist.”
  3. Click the first site from the list that appears, which is “www.bing.com.”
  4. On the right side of the window, click on the three lines in blue that say “Block this site.”
  5. Click on “Add this site to your blocklist.”
  1. Open your web browser and type “https://www2.googleusercontent.com” into the address bar 2) Click on “Search” on toolbar and type “blocklist” 3) Click on first site from list that appears which is wwwbing 4) On right side of window click on three lines in blue that say “Block this site” 5) Click on “Add this site to your blocklist” ..

Your computer will now be blocked from accessing some of the websites.

How to Block any website on your Mac

If you don’t have administrator access to your Mac, you can’t open Terminal. To open Terminal, you can find it in /Applications/Utilities/Terminal.

sudo nano /etc/hosts Now, add the following lines to the file: 127.0.0.1 localhost 127.0.0.2 www.example.com 192.168.1.1 localhost 192.168.1.2 www2

This will open the /etc/hosts file in a text editor. Enter the site name on a new line in this format “127.0.0.1 www.blockedwebsite.com” (minus the quotation marks). For each website you want to block, start a new line and type the same command with just the name of the website being replaced. When done, press ctrl+x and then Y to save your changes.

sudo dscacheutil -flushcache

Final note

Blocking websites on your computer is a great way to keep yourself safe and protect your privacy. By blocking websites, you can prevent unwanted visits from online predators and other harmful content. This guide will show you how to block websites on your computer using different browser extensions and tools. ..