Thursday, November 22, 2012

Block Unwanted Website

by Anonymous  |  in Pc Tricks at  5:15 PM


Below is the procedure to block a website. This trick is simple but useful to avoid unwanted website to visit.

Procedure:
1. Go to C:\Windows\System32\drivers\etc or copy paste this path in the Run Dialog Box to much easier.
2. In the ETC folder, you need to find hosts file and open it by using notepad.
3. See screenshot below for better understanding.



4. To block the website you want. You need  to create a new entry.
EX: 127.0.0.1     Facebook.com
5. If you are finished adding block website. Don't forget to save this file or overwrite existing hosts file.
6. Finally, go to your browser and type your block website, and see what is happening.

How this trick work?

The hosts file contains lines of text consisting of an IP address in the first text field followed by one or more host names. When I add an entry in a hosts file like tutorial above. The facebok.com will become a local host.  Everytime facebook.com will be opened in our browser, our browser connected to 127.0.0.1  i.e. localhost (yourself). And thus there's nothing to open.





0 comments:

Proudly Powered by Blogger.