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

    Feb 2, 2010, 10:52 AM
    I don't know how I use hosts
    Salut
    I want to block access to a site and I used windows:system32/etc
    In hosts I enter the asdress and the address IP
    but without result!!!!!!!
    WallyHelps's Avatar
    WallyHelps Posts: 1,018, Reputation: 136
    Ultra Member
     
    #2

    Feb 2, 2010, 12:54 PM

    The hosts file is used as a sort of "phone book" for your computer. The first column is the IP address and the second column is the human-readable name.

    If you want to block a website, you add its name (www.badsite.com) in the second column, but for the IP address you will put 127.0.0.1 which means YOUR computer. This effectively "shorts out" the name lookup for the bad website and blocks access to it.

    For example, in your hosts file:
    Code:
    102.54.94.97       rhino.acme.com         # This is not blocked
    127.0.0.1          www.badsite.com        # This is blocked
    Note that after editing the hosts file, you should probably reboot the computer for the changes to take effect.

    Hope this helps.
    WallyH
    InfoJunkie4Life's Avatar
    InfoJunkie4Life Posts: 1,409, Reputation: 81
    Ultra Member
     
    #3

    Feb 3, 2010, 09:47 AM
    I believe that works on all programs. There is also a way to do program specific, and there are firewalls out there that do the same also.

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!

C:\windows\system32\drivers\etc\hosts virus [ 4 Answers ]

Last night got a virus, I don't know how.. might have been in a torrent or something. But yeah my avg is going crazy the resident shield is popping up every few minutes C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS virus Although when I click heal or move to vault nothing happens Done a bit of...

Free Web Hosts? [ 6 Answers ]

Are there any free web hosts out there with NO hidden charges and a good deal of monthly bandwidth space? (3GB +?) THanks

C:WINDOWSsystem32driversetchosts [ 1 Answers ]

Hi I can't find \etc\hosts in the C:\WINDOWS\system32\drivers\ and AGV keeps telling me it has a reading error in this line. All the forums I have been to tell me to open the C:\WINDOWS\system32\drivers\etc\hosts folder and edit it to... but it isn't there how do I reinstall this folder(\etc\host)...

Free Web Hosts [ 2 Answers ]

Are there any free web hosts out there with NO hidden charges and a good deal of monthly bandwidth space? (3GB +?) THanks


View more questions Search