If you have a domain name, you can use it for your github pages. This solution basically comes from here with some minor differences.
Create a “CNAME” text file in your local “octopress/source” directory with your domain name in it(such as “gangmax.me”), “rake generate” and “rake deploy”. Then you should see the “CNAME” file in the “master” branch file list under the root directory from “https://github.com/your-account/your-account.github.com“.
Go to your domain service provider’s manangement console, add an A record like below:
1 | ~~@ = 207.97.227.245~~ |
- Add another CNAME record like below as well:
1 | www = your-account.github.com |
Wait some time(half an hour or more), to let the DNS configuration take effect, then it should work.