If you want to block / restrict a particular website or
multiple websites on your computer just follow the below steps. This
trick will is useful to block any websites which are surfing by your
children or anyone in your house or company computers.
You can also block the software from validating the product key or license information form the software website.
Now Let us see how to block a website. Example: www.facebook.com
You can also block the software from validating the product key or license information form the software website.
Now Let us see how to block a website. Example: www.facebook.com
- Open My Computer and go to C:\Windows\System32\drivers\etc
- Open hosts file in notepad (Double Click To Open)
- Select Notepad in Open with Dialog.
- Text in the hosts file look like in below image.
- 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
- 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.
- Ctrl+s and save the hosts file.
- That's it open any browser try to open the website which you blocked. It will show theUnable to connect message.
This works on all the browsers like Internet explorer, Firefox, Chrome, Opera, Safari,....etc
No comments:
Post a Comment
We do receive a lot of comments each day and those comments are moderated by the human being not automated robots. So, Please avoid doing spam and posting links in comments otherwise comment will not be published. We can't tolerate anymore. Thanks for understanding!