Can you block a single website?

Whether you want to be productive or want to protect your child from suspicious content, blocking websites can be helpful. But, since it is a vast topic, there are a lot of different ways to do it on multiple platforms. 

So, without further ado, let’s move on to learning how to block a website.

Is It Possible to Block a Website ?

Fortunately, it is possible to block a website and there are several ways you can do this regardless of the browser or device you use. Beyond this, if you do not want to completely block a website but only want some time off, it is also possible to block websites only for a certain time. 

Read more on how to block websites on different devices, different browsers, and for different periods of time. 

Block Website on Mac

Apple’s inbuilt feature; Screen time allows users to block different websites with ease on Mac as well as iPhone. To do this, please follow the steps below:  

  1. Tap on the Apple logo.
  2. Select System Preferences.System-preferences
  3. Select Screen Time.
  4. Tap on Content & Privacy .
  5. In the top right corner, click Turn On.
  6. Click on Limit Adult Websites.limit-adult-websites
  7. Select Customize.
  8. Add in the website URL under Restricted.
  9. Click on Ok.

Similar to the command prompt, you can also block websites on Mac, using the terminal app. To do this, please follow the steps below: 

  1. Go to the search button located on the top right corner.
  2.  Type in Terminal.
    terminal
  3. Copy and paste: sudo nano/ect/hosts.
  4. Press enter.
  5. Type in your password when requested.
  6. Type in 127.0.0.1, press space and enter the website you want to block.etc-nano
  7. Press enter. 
  8. Press control+Y to save the command.
  9. Exit the terminal application. 

How to Block a Website on Different Devices?

Depending on the different devices you use, there are different methods to block websites. For Apple products, the steps are easier as Apple has inbuilt features that allow blocking websites. 

Block Website on Windows

The easiest way to block a website on Windows is using the command prompt. To do so, please follow the steps below.

  1. Go to the search icon.
  2. Type Command.
  3. Right click on the command prompt and select “Run as administrator”. 
  4. Copy and paste the following into the command box: notepad c:\WINDOWS\system32\drivers\etc\hostsblock website command 
  5. Press enter.
  6. A notepad application will open, on the bottom, type in 127.0.0.1 “the name of the website you want to block”. For example; 127.0.0.1 youtube.com.
    notepad command
  7. Similarly add in other websites you want to block if any. 
  8. Go to  File in the menu. 
  9. Click on Save.
  10. Close command prompt and notepad. 

You should not be able to access the website after this method. 

Block Website on Android 

Unlike Apple’s devices, Android devices do not have built-in features that allow users to block websites through their settings. The most common method of blocking websites on Android is using third-party extensions or antivirus applications. 

However, if you have rooted (jailbroken) your Android, you can follow the steps below to block the website of your choice in Android by editing the host files. 

  1. Download ES File Explorer File Manager from Google play.es-file-manager
  2. Tap on the menu button.
  3. Tap on Local.
  4. Tap on Device.
  5. Go to System. 
  6. Tap on etc. 
  7. Find the folder named Hosts and open it.
    hosts
  8. Type in  127.0.0.1”the website you want to block”. Add in all the websites you want to block in each line. 
  9. Tap on File and select Save. 
  10. Reboot your Android for the changes to take place. 

Block Website on Iphone 

Similar to the method applied for Macs, you can also block websites on iPhone using screen time. Please follow the steps below to do this. 

For iOS 12 and later:

  1. Tap on Settings. 
  2. Scroll to Screen Time and tap on it. 
  3. Tap on Content & Privacy Restrictions.
     content-and-privacy-restrictions
  4. Tap on Content Restrictions.
  5. Go to Web Content.
  6. Tap on Limit Adult Websites.
     limit-adult-websites-iphone
  7. Under Never Allow, add the website you want to block. 
  8. Tap on Done. ·    

For iOS 11 and earlier: 

  1. Tap on Settings. 
  2. Tap on General.
  3. Tap on Restrictions. 
  4. Tap on Enable Restrictions.
  5. Input your passcode as instructed. 
  6. Tap on Allowed Content. 
  7. Tap on Websites. 
  8. Tap on Limit Adult Websites. 
  9. Under Never Allow, add the website you want to block. 
  10. Tap on Done. 

Block Website for a Certain Period of Time

If you want to block a website for only a certain period of time, this is easily possible in iPhone and Mac, using the same feature. For Android and Windows, you will be required to download a third-party extension that allows this feature. 

Block for a Certain Period of Time in Iphone

  1. Tap on Settings. 
  2. Scroll to Screen Time and tap on it. 
  3. Tap on App limits.
     app-limits
  4. On the bottom, you will find an option for websites
  5. Tap on Websites
  6. Select Add website and add the URL
  7. Customize the time and days for which you want to block the website.customise-day
  8. Click on Add.

Block for a Certain Period of Time on Mac

  1. Click on the Apple logo.
  2. Select System Preferences.system-preference
  3. Select Screen Time.
  4. Select app limit.
  5. Click on Turn on located on the top right corner.app-limit-on
  6. Click on the add icon.
  7. Scroll down for website option.
  8. Click on the drop down menu.
  9. Select Add website and add the URL.add-website
  10. Customize the time and days for which you want to block the website.
  11. Click on Done. 

Block for a Certain Period of Time on Windows or Android

Since Android and Windows do not have in-built features like Apple, the best way to block a website for a certain period of time is by using third-party extensions. Some of the extensions that allow for scheduled blocking of websites are:

  1. BlockSite: Block Website & Stay Focused.
  2. Stay Focused. 
  3. Block Site. 
  4. Waste NoTime. 

Block Notifications From Browsers 

If you do not want to block the website but don’t want the constant notifications, you can also block notifications from the browser. 

Chrome

To block notification on Chrome, please follow the steps below:

  1. Open the Chrome application.
  2. Tap on the vertical three dots.
  3. Tap on Settings.
  4. Tap on Security & Privacy.security and privacy
  5. Tap on Site Settings.
    site settings
  6. Tap on Notifications. 
  7. Select Don’t allow sites to send notifications.dont allow site to send notification

Safari

To block notification on Safari, please follow the steps below:

  1. Open  Safari.
  2. Click on Safari, located on the top menu of your Mac.
  3. Select Preferences.
    safari-preference-menu
  4. Go to the Website tab. 
  5. From the left hand menu, select Notifications.
  6. Check on Allow websites to ask for permission to send notification. notification-safari
  7. On the list of websites, deny or allow permission according to your preference. 

Firefox

To block notification on Firefox, please follow the steps below:

  1. Click on the vertical three lines located on the top right corner.
  2. Click on Options.
  3. Select Privacy & Security.privacy and security firefox
  4. Scroll down to Permssions.
  5. Go to Notifications.
  6. Click on Settings.
    notificaiton setting firefox
  7. You will find a list of websites that send notification, change status to Block.
  8. Check on Block new requests asking to allow notification. block website firefoxx

Block Website for Children

If you are a teacher or a parent, you might have different needs to block websites than the ones mentioned above. There are various applications you can use so that your children or students cannot access certain websites.

Microsoft Family Safety

Microsoft Family safety works on any device that has Microsoft Edge. You will first need to create a family group in family.microsoft.com. Add in your family members through phone or email addresses and follow the instructions to connect the devices and enable permission. 

Once these settings for the family account are done, please follow the steps to block websites. 

  1. Select your family member for whom you would like to block the website.
  2. Click on Content filters.
  3. Go to Web and Search.
  4. Check on Filter inappropriate websites.
  5. Go to the Never Allowed list. 
  6. Add in the websites you want to block. 
  7. You can further customize to select only the website you want your children to access under “Only allow these websites”.  

Chromebook

If you are a teacher using Chromebook with your students, you can limit access to the students through your admin account on Google Chromebook. To do this, please follow the steps below: 

  1. Login to your admin account. 
  2. Go to Devices. 
  3. Click on Chrome.
  4. Select Settings on the drop down menu.
  5. Go to Content.
  6. Select URL blocking.
  7. Go to the URL blacklist on the right hand page. 
  8. Add in the websites you want to block under the URL blacklist. 

Alternatives

Block Website Through Router

In order to block your website through Router, you need your router’s IP address. To find this, please follow the steps below:

On Windows:

  1. Go to the search button.
  2. Type Command and open the Command prompt.
  3. Type in ipconfig.
    running-ipconfig
  4. You will find the IP address besides Default Gateway.

On Mac:

  1. Click on the Apple logo.
  2. Go to System Preferences.
  3. Select Network.
  4. You should find the IP address under the Wifi Status. wifi-status

Once you have the IP addresses, please follow the steps below:

  1. Enter the IP address on your browser.
  2. Input username and password to login. 
  3. Go to the Security option.
  4. Depending on your router, you will either find content settings, firewall or privacy. 
  5. Select the settings that will have an option to block sites. 
  6. Add in the websites you want to block. 

Block Website With Avast

One of the ways you can block websites is through the antivirus software Avast. This is especially applicable if you think a website always causes issues in your device through malware. To do this, please follow the steps below:

  1.  Open Avast software.
  2. Go to Additional protection located on the left hand menu. 
  3. Click on Site blocking.
  4. Enter the websites you want to block on the page and click on “Add”. 

How to Block on Different Browsers?

Most of the common browsers we use such as Chrome, Safari, Firefox, and Microsoft Edge, do not have inbuilt features to block websites. Thus, the only two options you can use to block websites on the above-mentioned browsers. 

You can follow the steps depending on your operating system. The settings will apply to all the browsers on your device. You can also add- third-party extensions of your preference to the browsers. 

Internet Explorer

Older versions of internet explorer have in-built features to block the websites. To do this on your explorer, please follow the steps below:

  1. Open Internet Explorer.
  2. Click on the gear icon located on the top right corner. 
  3. Select Internet Options.
  4. Click on the Content tab. 

How do I block just one website?

How to block websites on Chrome via Android.
Search for and install the BlockSite app in the Google Play Store..
Follow the app's instructions to allow access to your phone's privacy settings..
To block a website, click the “+” symbol and search for the keyword or domain name of the website you want to block..

How do I block certain websites from showing up?

If there is a specific site that bothers you so much that you don't want to ever see it in Google search results ever again, there is a free Chrome extension that does just that. It's called Personal Blocklist(not by Google). It'll add a simple link “Block (domain)” to your search results.

Can you block a specific website on Google?

Applies to managed Chrome browsers and ChromeOS devices. As a Chrome Enterprise admin you can block and allow URLs so that users can only visit certain websites.

Can you block a single website on Chrome?

Go to Manage Settings -> Filters on Google Chrome -> Manage sites -> Blocked. Tap the Add an exception icon. Type in the website or the domain that you want to block. Save and see if the site is blocked.