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:
~~@ = 126.96.36.199~~
- Add another CNAME record like below as well:
www = your-account.github.com
Wait some time(half an hour or more), to let the DNS configuration take effect, then it should work.