Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to block a website because someone keeps downloading crap from this website and it's spyware. I tell them it's spyware and they download it anyway. So I'm trying to block it via the hosts file.

My host file looks like

the second entry is the actual IP address of the website.

I save the changes. I'm running it as an admin so it doesn't make me save the changes to a new file. It saves directly to the hosts file. So I save and quit. Then I reboot my computer. I visit this website and it still loads. So I also tried using instead of Same problem.

share|improve this question
up vote 4 down vote accepted should be sufficient, as this will route any traffic to the loopback adapter.

To effectively block the site, use the full DNS name(s):

Verify that your changes persist after rebooting.

share|improve this answer
Awesome. Thanks! – BreeBreeBRAN Dec 25 '13 at 2:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.