Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use /etc/hosts to block ads at the local level' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use /etc/hosts to block ads at the local level
Authored by: tomhannen on Nov 28, '05 06:32:17AM

Just a quick note... I needed to format my hosts file like this:

127.0.0.1 localhost
127.0.0.1 siteiwanttoblock.com

Not as shown in the tip:

127.0.0.1 localhost siteiwanttoblock.com

It's probably obvious, but I just thought I'd mention it. Also this tip blocks sites to all users of the machine, not just to one user (you need to be an admin to have access to the hosts file).



[ Reply to This | # ]