Also make sure that you are using a CNAME record pointing to `YOUR-USERNAME.github.io.`.
[1]: https://webmasters.stackexchange.com/a/71922
[2]: https://help.github.com/articles/setting-up-a-www-subdomain/