Ask Experts Questions for FREE Help !
Ask
    sourav_7's Avatar
    sourav_7 Posts: 15, Reputation: 1
    New Member
     
    #1

    Nov 16, 2010, 02:54 AM
    How can I block some particular sites on my computer by using hosts
    Curlyben's Avatar
    Curlyben Posts: 18,514, Reputation: 1860
    BossMan
     
    #2

    Nov 16, 2010, 03:21 AM
    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.
    sourav_7's Avatar
    sourav_7 Posts: 15, Reputation: 1
    New Member
     
    #3

    Nov 16, 2010, 12:43 PM
    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 ***
    Curlyben's Avatar
    Curlyben Posts: 18,514, Reputation: 1860
    BossMan
     
    #4

    Nov 16, 2010, 12:52 PM
    Save it as a TEXT (txt) file and then rename the old one .OLD and rename the new one without the TXT extension.
    sourav_7's Avatar
    sourav_7 Posts: 15, Reputation: 1
    New Member
     
    #5

    Nov 16, 2010, 01:03 PM
    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
    sourav_7's Avatar
    sourav_7 Posts: 15, Reputation: 1
    New Member
     
    #6

    Nov 16, 2010, 01:37 PM
    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
    Curlyben's Avatar
    Curlyben Posts: 18,514, Reputation: 1860
    BossMan
     
    #7

    Nov 16, 2010, 01:53 PM
    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.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Show c:\windows\system32\drivers\etc\hosts in computer [ 3 Answers ]

My computer detect virus and show "c:\windows\system32\drivers\etc\hosts" How do I do about it? My antivirus software is AVG.

How do I get the hosts in my computer; [ 1 Answers ]

Or better yet, my itunes won't connect to the store saying my connection timed out EVERY single time, but I can be on the internet at the same time?? What do I do? Please help

Where do I find the etc\hosts file on my windows XP computer? [ 1 Answers ]

Can not find the etc\hosts file on my windows XP computer.

How to block sites [ 5 Answers ]

I would like to block a specific web site in my PC. I tried with c:\windows\system32\dreivers\etc\hosts 127.0.0.1 Yahoo! (for example) But the same get opened with http:://yahoo.com/ I need a permanent solutiion. Can any one help me in this regard Swaminathan N Chennai


View more questions Search