Thursday, November 22, 2012

Block Unwanted Website

by Kevz Potazo  |  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.

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.
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 will become a local host.  Everytime will be opened in our browser, our browser connected to  i.e. localhost (yourself). And thus there's nothing to open.


Proudly Powered by Blogger.