How to block a website

How to block a website

There are lots of methods by which a website can be blocked by the administrator from the user and a blocked webpage is very difficult to be unblocked by the user.To block a website all we need is a working system and a browser.There are lots of use in blocking a website which we will discuss at the end of this article.Let us start the blocking process now :

Also read : How to make free calls from internet.

block website
Steps to block a website:

First i will tell you a simple method for blocking the website under windows operating system which does not require any kind of additional software.

  • Go to C:\Windows\System32\Drivers\etc
  • Open the file named “hosts” with the notepad and you must see the following codes :

    # Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a ‘#’ symbol.
    #
    # For example:
    #
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host

    127.0.0.1       localhost

     

  • Now after the last line enter the name of the website along with 127.0.0.1 .For example if google is the website you need to block then you need to add google.com and www.google.com following the 127.0.0.1 and your coding must look like the one below : 

    # Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a ‘#’ symbol.
    #
    # For example:
    #
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost
127.0.0.1       google.com
127.0.0.1       www.google.com

 

  • For now this is it and you just have to save the file.Then open Any browser that you have and try to open the google.com webpage , you must be seeing the error message.

 

Block a website in Firefox :

It is very simple to block a website in firefox using the additional Add-ons which is available for free of cost.

  • Open the firefox and select tools > options .
  • Now select the Get Add-ons and search for Blocksite plus
  • Download the version that is compatible with your browser and open it.
  • Add the sites that you want to block and select the add button.
Block a website in google chrome :

To block a website in google chrome it possible with the additional plugin which can be downloaded for free.

  • Download this plugin and install it  : Plugin for blocking in chrome.
  • Once you have installed it ,configure the plugin like the above mentioned method inorder to block any webpage in google chrome.
  • Now open the page that you have blocked and you must see an error.
Use of blocking a website :
  • This can be used for blocking inappropriate sites from being visited by the kids in your house.
  • Helps the schools and colleges to prevent their students from accessing the blocked websites.
  • Used in facebook to avoid the other users to see the time you have seen their chat message , usually given as “seen TIME” in the chat box.

These are the simple ways to block a website and if you have blocked a website using any other method you can share it in the comment section.

Learn more about how to Trace mobile number in India.
Rajesh

I'm Rajesh from CSE background and I'm specialized in Blogging, SEO, Website Designing.I'm an entrepreneur and I make my living online.You can find me here

4 thoughts on “How to block a website

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.