title: Webfaction redirect no-WWW to WWW (static app, htaccess file)
body: <p>In webfaction, I want to redirect mysite.com to www.mysite.com</p>
  
  <p>I have the following:</p>
  
  <ul>
  <li><p>A subdomain www.mysite.com. It has a website with a Django app.</p></li>
  <li><p>A subdomain mysite.com. It has a website which has a Static/CGI/PHP app. This app is called redirect.</p></li>
  <li><p>In webapps/redirect I  have created a file .htaccess. (BTW, this kept "disappearing". In ssh use ls -a to see that it is actually there.)</p></li>
  </ul>
  
  <p>This file look like this:</p>
  
  <pre><code>Options +FollowSymLinks
  RewriteEngine on
  RewriteCond %{HTTP_HOST} mysite.com$ [NC]
  RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]
  </code></pre>
  
  <p>(Also tried with ^ in front of mysite.com$)</p>
  
  <p>When I go to mysite.com I see the default page "Hello, World" instead of what I see when I go to www.mysite.com </p>
  
  <p>Not sure what to do from here.</p>