How To Block Websites Without Any Software

  • Open My Computer and go to C:\Windows\System32\drivers\etc
    Find Hosts file
  • Open hosts file in notepad  (Double Click To Open)
  • Select Notepad in Open with Dialog.
Open Hosts file in notepad
  • Text in the hosts file look like in below image.
Hosts file
  • Below the  127.0.0.1              localhost 
  •                   ::1                        localhost
  •  Enter websites in below format
  •  127.0.0.1        www.SiteName.com
  • To block facebook website add the below line to hosts file
  •   127.0.0.1      www.facebook.com   
Add facebook.com to hosts file
  • To block multiple websites Add website one after one in a new line in the below format
  • 127.0.0.1     www.SiteName.com
  • See the below image.
Add multiple sites to hosts file
  •  Ctrl+s and save the hosts file. 
  • That's it open any browser try to open the website which you blocked. It will show the Unable to connect message.
Unable to connect mozilla firefox
  • This works on all the browsers like Internet explorer, Firefox, Chrome, Opera, Safari,....etc

0 comments:

Post a Comment

 
Top
Blogger Template