301 redirect for site hosted at github?
Here's a Github repository of mine: https://github.com/n1k0/casperjs There's a gh-pages branch to hold the project documentation, which is basically the project website: https://github.com/n1k0/casperjs/tree/gh-pages This branch setups the documentation site at http://n1k0.github.com/casperjs/ — hurray. In the meanwhile, I've bough the casperjs.org domain to get this website available through it, so I put a CNAME file as recommended in the docs : https://github.com/n1k0/casperjs/blob/gh-pages/CNAME — in their example, the operation is supposed to create redirects from www.example.com and