HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Block a Website in all Web Browsers

1,163,143 views October 25, 2015 2:18

Watch on YouTube
ChannelTechEmpty

Description from the creator

Know How to Block a Website in all browsers. In my previous tutorial I have shown you How to Block Websites on Google Chrome youtube.com/watch?v=GZMhKoLDf2g

..but this video will help you to block selected websites on every browser within few steps. This can be done by editing the hosts file of your PC and I will guide you to do it perfectly without any hassles.

First step is to open the notepad in administrative rights. If you are using Windows 8 machine then come to start screen and type Notepad. Here right click on the Notepad then select “Run as Administrator”. If you are using other windows versions, navigate to Notepad, right click then select “Run as Administrator” from the list of options.

Second step is to find the path of hosts file. To do this, go to notepad then “File” then “Open”. Now go to C drive then Windows then System32, then Drivers, then etc. Initially you won’t see any files here. To get all files, change “Text Documents” to “All Files” and select “hosts”.

Come to the bottom and add the IP address 127.0.0.1 followed by websites to block. For example say, if you would like to block facebook and twitter. Write down these URLs with a space separation.

Let me show you in live. Both websites are opening before saving hosts file. But after saving the edited hosts file, it shows “This webpage is not available”. Make sure to add mobile versions of the websites. Facebook.com is treated different to m.facebook.com.

Subscribe to TechEmpty at youtube.com/user/techempty?sub_confirmation=1

Follow us on
Facebook: facebook.com/techempty
Twitter: twitter.com/techempty
Google Plus: plus.google.com/+techempty
Website: techempty.org

How to Block a Website in all Web Browsers
youtube.com/watch?v=_9tj7y319Hw

About this tutorial

TechEmpty published this 2:18 video tutorial on October 25, 2015. It has been watched 1,163,143 times on YouTube.

Channel
TechEmpty
Duration
2:18
Published
October 25, 2015
Views
1,163,143
Likes
7,916

Tags

Share

Further reading

  • How to Block Websites on Microsoft Edge 2020 - Simple Way techspite.com

    With the help of hosts file, you can effortlessly block website on all browsers such as Google Chrome, Firefox, and Microsoft Edge. Therefore, you will not need any plugin for blocking the website. By adding a few thing…

  • 5 Ways to Block a Website in All Web Browsers - wikiHow wikihow.com

    Type the address of the site you want to block. For example, if you wanted to block Google, you would type www.google.com.. If you're blocking sites on Google Chrome, you'll need to place a space and then the "www.[site…

  • 4 Ways to Block a Website on Your Computer - wikiHow wikihow.com

    Block Google Chrome sites using this method. While you can block sites in most browsers using the above step, Google Chrome is slightly different: if you're blocking sites on Google Chrome, you'll need to place a space…

This tutorial in other languages