Sometimes you want to block any website or want to restrict any specific website access from your children , you can add them manually to block list of your computer, this method only works if you want to block only specific websites, if you want to unblock it , you have ti do it again manually. So, bookmark this post before making any changes.
How to block any website without using any software
># 127.0.0.1 localhost
># 1 localhost
NOTE:- Replace "www.yoursitename.com" With name of website which you want to Block 4.
Then Save the File ,Enjoy all done
How to block any website without using any software
- Open Notepad as administrator by using right click on notepad icon.
- Then open File Name Hosts with notepad, you will find it in Windows folder with path C:\\Windows\System32\drivers\etc\
- Then Paste 127.0.0.1 www.yoursitename.com, Just Below the Following Lines.
># 127.0.0.1 localhost
># 1 localhost
NOTE:- Replace "www.yoursitename.com" With name of website which you want to Block 4.
Then Save the File ,Enjoy all done