<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>CWD Forum Tag: block websites - Recent Posts</title>
<link>http://forum.contractwebdevelopment.com/</link>
<description>CWD Forum Tag: block websites - Recent Posts</description>
<language>en</language>
<pubDate>Tue, 07 Sep 2010 03:02:29 +0000</pubDate>

<item>
<title>cwd on "Block Websites - Host File"</title>
<link>http://forum.contractwebdevelopment.com/topic/block-websites-host-file#post-22</link>
<pubDate>Mon, 10 Aug 2009 17:49:50 +0000</pubDate>
<dc:creator>cwd</dc:creator>
<guid isPermaLink="false">22@http://forum.contractwebdevelopment.com/</guid>
<description><p>Great question. You can indeed block a list of web sites using your host file. First, your host file is most commonly located in C:\windows\system32\drivers\etc\HOSTS.</p>
<p>Use Notepad or Wordpad to edit it, but save a backup copy first. Also note that if you save without specifying an extension, Windows will, by default, add a ".txt" extension to the file, so you'll be left with an unusable HOSTS.txt. To prevent this, rename the original hosts file to HOSTS.bak, and the new HOSTS.txt one to simply HOSTS.</p>
<p>Add a commented section to place your blocked websites and then block them like this:</p>
<p># Manual entries<br />
127.0.0.1	example.com</p>
<p>You can list as many as you want. All this does is point your browser at 127.0.0.1 - which is a loop back to your own PC, instead of sending you to the offending website.
</p>
</description>
</item>
<item>
<title>asterix on "Block Websites - Host File"</title>
<link>http://forum.contractwebdevelopment.com/topic/block-websites-host-file#post-21</link>
<pubDate>Mon, 10 Aug 2009 17:44:56 +0000</pubDate>
<dc:creator>asterix</dc:creator>
<guid isPermaLink="false">21@http://forum.contractwebdevelopment.com/</guid>
<description><p>I'm trying to read this financial article on Seeking Alpha and the web page, right after loading, gets redirected to some spammy "personal antivirus" site. </p>
<p>I can manually block web pages in each of my browsers, but I seem to remember there being a way to do it for all of them at once, and having the capability to import multiple websites to block at once (similar to how Spybot S&amp;D does it) using my Windows hosts file? </p>
<p>Is there a way to block websites using the host file?
</p>
</description>
</item>

</channel>
</rss>
