title: 301 redirect for site hosted at github?
body: <p>Here's a Github repository of mine: <a href="https://github.com/n1k0/casperjs" rel="noreferrer">https://github.com/n1k0/casperjs</a></p>
  
  <p>There's a <code>gh-pages</code> branch to hold the project documentation, which is basically the project website: <a href="https://github.com/n1k0/casperjs/tree/gh-pages" rel="noreferrer">https://github.com/n1k0/casperjs/tree/gh-pages</a></p>
  
  <p>This branch setups the documentation site at <a href="http://n1k0.github.com/casperjs/" rel="noreferrer">http://n1k0.github.com/casperjs/</a> — hurray.</p>
  
  <p>In the meanwhile, I've bough the <code>casperjs.org</code> domain to get this website available through it, so I put a <code>CNAME</code> file as <a href="http://pages.github.com/#custom_domains" rel="noreferrer">recommended in the docs</a>: <a href="https://github.com/n1k0/casperjs/blob/gh-pages/CNAME" rel="noreferrer">https://github.com/n1k0/casperjs/blob/gh-pages/CNAME</a> — in their example, the operation is supposed to <em>create redirects from www.example.com and charlie.github.com to example.com</em>…</p>
  
  <p>While the website now points to <a href="http://casperjs.org/" rel="noreferrer">http://casperjs.org/</a>, there's no 301 redirect from <a href="http://n1k0.github.com/casperjs/" rel="noreferrer">http://n1k0.github.com/casperjs/</a> (the old site url) to the new domain name.</p>
  
  <p>Any idea how to setup such a redirect, if it's even possible? Is it a bug? If it is, where should I open an issue?</p>