Get Latest Tweaks via Facebook, Twitter, Google+ & FeedBurner
    Subscribe Twitter Facebook

    Wednesday, April 20, 2011

    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 " localhost"
    5. Now add another line at the bottom for ex: ""
    6. This line will block the site 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 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.


    Post a Comment