Home » How to Block Any Website on Your Computer, Phone, or Network

How to Block Any Website on Your Computer, Phone, or Network

  • by
  • 9 min read

The internet isn’t always the child-friendly, knowledgeable fairyland that people make it out to be. For every sweet blog post, you come across, there is a dark and inappropriate website, lurking around the corner, waiting to attack your PC. If you are tired of being cautious all the time and want to get rid of shady sites on the internet, then here’s a guide on how to block any website on your computer, phone, or network.

How to Block Any Website on Your Computer, Phone, or Network

How to Block Any Website on Your Computer, Phone, or Network

Why Should I Block Websites?

Website blocking has become an essential part of many organizations, schools, and even households. It is a tactic employed by parents and teachers to prevent children from accessing sites that are not appropriate for their age. In the professional workplace, access to certain websites is restricted to ensure that employees do not lose focus and work on their assignments in a distraction-free environment. No matter the cause, website monitoring is an important segment of the internet and by following the methods mentioned below you will be able to block any website, anywhere.

Method 1: Block Any Website on Windows 10

Windows 10 is a widely used operating system and is primarily found in schools and other organizations. Blocking websites on Windows is an easy process and users can do so without even opening the web browser.

1. On your Windows PC, log in through the administrator account and open the ‘This PC’ application.

2. Using the address bar on top, go to the following file location:

C:\Windows\System32\drivers\etc

3. In this folder, open the file titled ‘hosts.’ If Windows asks you to select an application to run the file, choose Notepad.

Here, open the hosts file

4. Your notepad file should look something like this.

hosts notepad file

5. To block a particular website, go to the bottom of the file and enter 127.0.0.1 followed by the name of the site you want to block. For instance, if you want to block Facebook, this is the code you will input: 127.0.0.1 https://www.facebook.com/

type 1.2.0.0.1 followed by the website's name to block it

6. If you want to restrict more sites follow the same procedure and enter the code in the next line. Once you have made changes to the file, press Ctrl + S to save it.

Note: If you’re unable to save the file and get errors such as “access denied” then follow this guide

7. Reboot your PC and you should be able to block any website on your Windows 10 computer.

Method 2: Block a Website on MacBook

The process of blocking a website on Mac is similar to the process in Windows.

1. On your MacBook, press F4 and search for the Terminal.

2. In the Nano text editor enter the following address:

sudo nano /private/etc/hosts.

Note: Type in your computer password if required.

3. In the ‘hosts’ file, enter 127.0.0.1 followed by the name of the website you want to block. Save the file and reboot your PC.

4. The particular website should be blocked.

Method 3: Block a Website on Chrome

In recent years, Google Chrome has almost become synonymous with the term web browser. The Google-based browser has revolutionized net surfing, making it easier to not only access new websites but also block suspicious ones. To bar access to websites on Chrome, you can use the BlockSite extension, a highly effective feature that gets the job done.

1. Open Google Chrome and install the BlockSite extension onto your browser.

Add BlockSite extension to Chrome

2. Once the extension is installed, you will be redirected to the feature’s configuration page. During the initial setup, BlockSite will ask if you want to enable the automatic blocking feature. This will give the extension access to your internet usage patterns and history. If this sounds reasonable, you can click on “I Accept” and enable the feature.

Click on I accept if you want the automatic blocking feature

3. On the main page of the extension, enter the name of the website you want to block in the empty text field. Once done, click on the green plus icon to complete the process.

To block a particular site, enter its URL in the given text box

4. Within BlockSite, you have various other features that will let you block specific categories of websites and create an internet plan to improve your focus. Additionally, you can program the extension to limit access to sites containing particular words or phrases, ensuring maximum security.

Note: The Google Chromebook runs on an interface similar to that of Chrome. Therefore, by using the BlockSite extension, you can bar websites on your Chromebook device as well.

Also Read: How to Block Websites on Chrome Mobile and Desktop

Method 4: Block Websites on Mozilla Firefox

Mozilla Firefox is another browser that has been widely popular among internet users. Luckily, the BlockSite extension is available on the Firefox browser as well. Head to the Firefox addons menu and search for BlockSite. Download and install the extension and following the steps mentioned above, to block any website of your choice.

Block Sites on Firefox using BlockSite extension

Method 5: How to Block a Website on Safari

Safari is the default browser found in MacBooks and other Apple devices. While you can block any website on Mac by editing the ‘hosts’ file from Method 2, there are other methods that are more customizable and provide better results. One such application that helps you avoid distractions is SelfControl.

1. Download the application and launch it on your MacBook.

2. Click on ‘Edit Blacklist’ and enter the links of the sites you want to limit.

In the app, click on Edit blacklist

3. On the app, adjust the slider to determine the duration of restriction on the selected sites.

4. Then click on ‘Start’ and all the websites on your blacklist will be blocked in Safari.

Also Read: Blocked or Restricted Websites? Here is How to Access them for free

Method 6: Block a Website on Android

Due to its user-friendliness and customizability, Android devices have become an extremely popular choice for smartphone users. While you cannot manipulate your internet configuration through Android settings, you can download applications that will block websites for you.

1. Go to the Google Play Store and download the BlockSite application for Android.

From the Play Store download BlockSite

2. Open the app and enable all permissions.

3. On the main interface of the app, tap on the green plus icon in the bottom right corner to add a website.

Tap on green plus icon to start blocking

4. The app will give you the option to not only block sites but also restrict distractive applications on your device.

5. Select the apps and websites you want to restrict and tap on ‘Done’ in the top right corner.

Select the websites and apps you want to block and tap on done

6. You will be able to block any website on your Android Phone.

Method 7: Block Websites on iPhone & iPads

For Apple, user security and privacy are of the highest concern. To uphold this principle, the company introduces various features on its devices that make the iPhone more secure. Here’s how you can block websites directly through your iPhone settings:

1. Open the Settings app on your iPhone and tap on the ‘Screen Time’

In the settings app, tap on Screen Time

2. Here, tap on ‘Content and Privacy Restrictions.’

Select content and privacy restrictions

3. On the next page, enable the toggle next to the Content & Privacy Restrictions option and then tap on Content Restrictions.

Tap on content restrictions

4. On the Content Restrictions page, scroll down and tap on ‘Web Content.’

Tap on web content

5. Here, you can either limit adult websites or tap on ‘Allowed Websites Only’ to restrict internet access to a select few child-friendly websites.

6. To block a particular website, tap on ‘Limit Adult Websites. Then tap on ‘Add Website’ under the NEVER ALLOW column.

Tap on limit adult websites and add the website you want to block

7. Once added, you will be able to restrict access to any site on your iPhone and iPad.

Recommended:

The internet is filled with dangerous and inappropriate websites that are waiting to wreak havoc on your PC and distract you from your work. However, with the steps mentioned above, you should be able to tackle these challenges and direct your focus towards your work.

We hope this guide was helpful and you were able to block any website on your computer, phone, or network. If you have any further queries, feel free to ask them in the comments section below.

nv-author-image

Advait Varma

Advait is a freelance technology writer who specializes in tutorials. He has five years of experience writing how-tos, reviews, and tutorials on the internet.

Leave a Reply

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