Saturday, July 19, 2014

How To Block Websites in Windows Without using any Software


1)     First of all go to Drive C:\Windows\System32\Drivers\etc
2)     Find the file named “Hosts
3)     Now 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
7)     Now let you want to block Facebook on your PC then type
127.0.0.1 www.facebook.com
On the bottom of the file 

8)     After writing this line save the file
9) Now copy “Hosts” file from the 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 in your PC, for example if you want to block Facebook, YouTube, and twitter on your PC then enter the below written code in “Hosts” file
127.0.0.1 www.facebook.com
127.0.0.1 www.youtube.com
127.0.0.1 www.twitter.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
Don’t forget to save first the Hosts file in some folder for backup if anything goes wrong, if you found any difficulty or error in above steps then let me know in below comments.

0 comments:

Post a Comment