Ticker

6/recent/ticker-posts

Ad Code

Responsive Advertisement

How To Block Any Site From Computer



  • Do you know how to block any site in computer without any application? if not then stay connected here i will describe you the easy method to block any site.

  • To block any site in your laptop just follow these steps;
  • My Computer >> Local disk C >> Window >> program file  >> system 32 >>  drivers >>  etc >>  hosts
or
  • If you don't find the host file then just search "hosts" in the search bar.
  • If there is the host file then open it with notepad.
  • But if you don't find the host file create a "text file".
 Copy the following text from  #Copyright to localhost and then paste in the text file and save this text file in the "etc" file.


<----------------------------------------------------------------------------------------------------------->


# Copyright (c) 1993-2009 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

# localhost name resolution is handled within DNS itself.

# 127.0.0.1       localhost
# ::1             localhost
<------------------------------------------------------------------------------------------------------------->

when you fine the application then copy the code "# 127.0.0.1" then tap the "Tab" from keyboard and then type the site name with www.____

FOR EXAMPLE;

If you want to block any site then at the end of the text in the host file copy the code and then paste as given below.

# 127.0.0.1       www.facebook.com


Then tap the file option in the right corner and then save it. Now you can check it. 

HOW TO UNBLOCK;
To unblock just remove the code and site address.

Post a Comment

0 Comments