Simple Way To Block Sites

Really, you need not setup firewall filters to block sites on your PC. Here is a simple trick to block the site on your computer system. The first step, you must find "Hosts" file. It is located in C:WINDOWSsystem32driversetc. It contains information about your local system hosts on your PC. 

Here are the next steps
1. Go to the location C:WINDOWS\system32\driversetc
2. You will find a file by name "hosts" with no extension.
3. Open that file in "Notepad"
4. Go to the page bottom where you could find the following line "127.0.0.1 localhost"
5. Now add another line at the bottom for ex: "127.0.0.1 http://www.sitename.com/localhost"
6. This line will block the site http://www.sitename.com

127.0.0.1 is the IP address of local system that called loop back address. When you enter a site, the browser will first check the hosts file and then it would go for the DNS service of your ISP. The browser will assume that 127.0.0.1 is the IP address of the sitename that you have added and will connect to the local host itself. So the websites doesn't get opened. you can add more line after the first localhost you have added.

0 comments:

Post a Comment