How to Block a Website in Web Browsers (All) – Step By Step Method

In this article, we have shared how to block a website in web browsers on Windows, Mac, iPhone, iPad. You will see how to prevent a particular site from being gotten to on any browser on a Windows or Mac PC by editing the “hosts” file. Also, while you can’t block sites on Android platforms, you can block sites on an iPhone or iPad utilizing the Restrictions menu in the Settings.

Technique 1: How to Block a Website On Windows Web Browser

  1. Open the Start menu. Tap on the Windows logo in the base left corner of the screen or press the ⊞ Win key.
  • On Windows 8, you should float your cursor in the upper right corner of the screen and afterward tap the amplifying glass symbol.
  1. Type Notepad into Start. Doing such will show the Notepad application at the highest point of the Start menu window.
  1. Right-tap on Notepad and select Run as administrator. This option will open Notepad utilizing your administrator privileges. If you don’t open Notepad in head mode, you won’t have the capacity to edit the “hosts” file.
  • On a portable workstation with a trackpad rather than a conventional mouse, utilize two fingers to tap the trackpad rather than right-clicking.
  1. Click on Yes when provoked. Doing as such will confirm your choice and open Notepad.
  1. Click on File and select Open.
  1. Double click on the Local Disk (C:) and after that go to Windows > System32 > drivers > and so on. Double-tap every folder until the point that you are in the “etc” folder.
  1. Tap on the “Text Documents” drop-down menu and select All Files. You should see a few files show up in the window.
  1. Double click on the “hosts” file. This will open the “hosts” file in Notepad, enabling you to see and edit its substance.
  1. Look down to the base of the “hosts” file. You’ll see two “localhost” lines of content here.
  1. Click beneath the last line of content. It will state either “::1 localhost” or “127.0.0.1 localhost” at the base of the page. Your cursor must be straightforwardly underneath the keep going line of content on this page.
  • Be mindful so as not to delete anything that is as of now in the host’s file.
  1. Type in 127.0.0.1 and squeeze Tab ↹. This is the loopback deliver to your own particular PC. This is the thing that will restore a blunder page in your web program when somebody tries to visit the blocked site.
  1. Type the address of the site you need to block. For instance, in the event that you needed to block Google, you would sort www.google.com.
  1. Press ↵ Enter. This moves your cursor to another line. The code you entered will advise your PC to redirect the site to your loopback address.

You can include the same number of destinations as you need to block, one for every line, utilizing a similar number (127.0.0.1) as some time recently.

  1. Click on File and select Save. The site you included will now be inaccessible in any web program on the PC.
  • To unblock a site, basically, open the host’s document in Notepad again with manager benefits and erase the lines that you included. Ensure you save your progressions in the wake of removing the lines you included or the locales will, in any case, be blocked.

How To Delete Facebook Account?

Technique 2: How to Block a Website On Mac  Web Browser

  1. Open Spotlight. To do such, tap the magnifying glass symbol on the upper right half of your Mac’s screen.
  1. Type terminal into Spotlight. This will incite Terminal to show up at the highest point of the query items.
  1. Double-tap the Terminal symbol.
  1. Type the accompanying code into Terminal:

sudo nano/etc/hosts

Also, press ⏎ Return. Doing as such will run the charge. This order opens the “hosts” file in a content tool within the Terminal window.

  1. Enter your Mac’s password and press ⏎ Return. This is the password you use to sign in to your Mac.
  • Terminal won’t show the password characters as you write them.
  1. Move the flickering cursor down to the base of the page. To do as such, press the ↓ key until the point that the cursor is beneath the keep going line of content on the page.
  1. Type : 127.0.0.1.This is the loopback address to your own PC. This is the thing that will restore an error page in your web browser when somebody tries to visit the blocked site.
  1. Press Tab ↹. The cursor will move to one side.
  • Try not to press ⏎ Return yet.
  1. Type the address of the site you need to block. For instance, if you needed to block Google, you would sort www.google.com.
  1. Press ⏎ Return. This will advise your PC to divert the site to your loopback address.
  • You can include the same number of destinations as you need to block, one for each line, utilizing a similar number (127.0.0.1) as some time recently.
  1. Press Control+X. This is the order to leave the host’s file in the word processor. It will provoke you in the event that you’d jump at the chance to spare your progressions.
  1. Press Y to save your changes. It will then ask you what filename you’d get a kick out of the chance to save it as. You need to overwrite the first host’s file, so don’t change the filename.
  1. Press ⏎ Return. This will save your changes to the first host’s file. This leaves the content manager and returns you to the fundamental Terminal window. The site you included will now be inaccessible in any web program on the PC.
  • To unblock a site, just open the host’s file again and erase the lines that you included. Ensure you save your progressions in the wake of removing the lines you included or the locales will, in any case, be blocked.

How To Send Large Files For Free?

Technique 3: How to Block a Website On iPhone and iPad Web Browser

  1. Open your iPhone’s Settings. It’s a grey application with gears on it. You’ll likely discover Settings on the Home Screen.
  1. Look down and tap General. This choice is close to the base of the screen (iPhone) or in the upper-left half of the screen (iPad).
  1. Look down and tap Restrictions. It’s close to the center of the General page.
  1. Enter your confinements password. This is the password you used to enable confinements on your gadget.
  • If you haven’t yet enabled confinements, first tap Enable Restrictions, at that point enter your coveted password twice.
  1. Look down and tap Web sites. It’s the last passage underneath the “ALLOWED CONTENT” heading.
  1. Tap Limit Adult Content. You’ll see a blue checkmark appear on one side of this option.
  1. Tap Add a Website beneath the “NEVER ALLOW” heading. This is the keep going option on the page.
  1. Type in the web address of the site you wish to block. The address must begin with “www” and end with a domain tag (e.g., “.com” or “.net”), however, you can leave the “https://” segment out of material.
  • For instance, if you needed to block Facebook on your iPhone or iPad, you would type in www.facebook.com.
  1. Tap on Done. It’s the blue button in the base right corner of the keypad. Your chosen site is presently blocked off in the Safari browser.
  • This setting likewise applies to other well known mobile browsers, for example, Chrome and Firefox.

5 thoughts on “How to Block a Website in Web Browsers (All) – Step By Step Method”

  1. Hello, I would like to suƅѕcribe for this web site to get
    most гecent updates, therefore where can i do it please help.

    • Hi, thanks for commenting. You can bookmark our site for next visit. We update our site daily. You can visit our site daily to get the update.

  2. Wow, awesome blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of your site is magnificent, as well as the content!

    • Thank you so much for your comment. I’m doing blogging since 2014.

  3. These games are made to make participants need to sit back and gamble their
    money on some of the unique circumstances the games may have.

Comments are closed.