How to BLOCK or UNBLOCK websites from your COMPUTER

A viewer named SHANI DESHWAL asked the question


1.How to BLOCK & UNBLOCK website in a computer?




Step 1: Go to the location mentioned in your computer “C:\Windows\System32\drivers\etc”, copy “hosts” file and paste it on your desktop

Step 2: Now open it with “NOTEPAD”, you’ll get codes like this😦 and i made a example in it, so watch it careful)

//code starts here

# 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:
# # source server
# # x client host

# localhost name resolution is handled within DNS itself.
# localhost
# ::1 localhost #here WIKIHOW is blocked, so you can’t use it

//code ends here

STEP 3: after editing, press “CTRL+S” and COPY & REPLACE it to the SOURCE location

Step 4: When you enter “WIKIHOW” website the site will be blocked for your computer



To unblock some websites from your SCHOOL,COLLEGE WI-FI the easiest way is to go to these sites below



Then enter the “RESTRICTED SITE” you want  and surf it