Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Windows (https://www.askmehelpdesk.com/forumdisplay.php?f=237)
-   -   How can I block some particular sites on my computer by using hosts (https://www.askmehelpdesk.com/showthread.php?t=526354)

  • Nov 16, 2010, 02:54 AM
    sourav_7
    How can I block some particular sites on my computer by using hosts
  • Nov 16, 2010, 03:21 AM
    Curlyben
    As you are referring to hosts file simply add the site and the IP of 127.0.0.1. This is the local loopback address and will block access to that site.
  • Nov 16, 2010, 12:43 PM
    sourav_7
    Related with hosts file
    How can I save the changes in hosts file because on saving the data in that file it is showing permission windows\system32\... \hosts was denied so somebody help me ***
  • Nov 16, 2010, 12:52 PM
    Curlyben
    Save it as a TEXT (txt) file and then rename the old one .OLD and rename the new one without the TXT extension.
  • Nov 16, 2010, 01:03 PM
    sourav_7
    Comment on Curlyben's post
    Sir I saved the old one as hosts.OLD and new one hosts.txt inside the etc and I tried to block the Google in this way I wrote in last of the document # 127.0.0.2 www.google.com and I opened the in which Google is default it is opened not blocked
  • Nov 16, 2010, 01:37 PM
    sourav_7
    Saving in hosts file
    I saved the old hosts file with hosts.OLD and new one with hosts.txt and changes with in last line 127.0.0.2 www.google.com saved in and closed all the things when I reopened the Google which is set default in my internet explorer it is opening it is not blocking so *** help me Mr. Curlyben
  • Nov 16, 2010, 01:53 PM
    Curlyben
    Should be:

    Code:

    127.0.0.1 google.com
    Also rename hosts.TXT to simply hosts with out an extension.

    You may need to clear your cache for it to take proper effect.

  • All times are GMT -7. The time now is 08:29 AM.