Thursday 3 July 2014

Awesome Method To Block Websites Without Any Software..!!



1) Open this C:\Windows\System32\Drivers\etc




2) Find the file named "Hosts"




3) Copy the file "Hosts" to the desktop

4) Now open that copied (Hosts) file in notepad




5) Now go to the bottom of the file

6) Suppose you want to block YouTube on your PC then type

     127.0.0.1 www.youtube.com 

      on the bottom of the file





8)  After writing this line save the file.

9) Now copy Hosts file from desktop and paste Hosts file in C:\Windows\System32\Drivers\etc

10) When you are copying the file window will give the error that the file already exist then simply replace the file.

11) Now you are done!Just go to your web browser and enter the blocked website URL in address bar, you will see the message that Website not available.

You can also block more than one website. Continue writing the website URLs
you want to bock in the following fashion

127.0.0.1 www.abc.com
127.0.0.1 www.xyz.com
.
.
.
Note : Windows will not give permission to edit Hosts file,for the solution of this problem you have to first copy that Hosts file somewhere on your PC.
After copying Hosts file simply edit the file and after that replace the Hosts file in C:\Windows\System32\Drivers\etc

P.S : Do not forget to save first the Hosts file in some folder for backup if anything goes wrong, if you find any difficulty or error in above steps please comment below.

No comments:

Post a Comment