Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
How do I block certain websites from being accessed through a browser?

I can block my little brother from accessing a website on my Mac by adding the following line to my "/etc/hosts" file.

127.0.0.1 someaddictingwebsite.com

Do Windows systems have a file analogous to "/etc/hosts"? Can I achieve the same effect on a PC?

share|improve this question

marked as duplicate by slhck Dec 29 '12 at 17:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
possible dublicate of this question –  nixda Dec 29 '12 at 17:33
6  
Here we go – Big Brother controlling your surfing. –  Zano Dec 29 '12 at 17:36

1 Answer 1

up vote 4 down vote accepted

It's normally under \WINDOWS\system32\drivers\etc (If there isn't one, just create it).
(you have not specified OS version, win 8 monitors this file and reverts any changes, see eg. here for discussion: http://www.howtogeek.com/122404/how-to-block-websites-in-windows-8s-hosts-file/)

share|improve this answer

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