0. Create a Github Pages Project
There are two types of Github Pages projects:
- User Page: points to
http://my-username.github.com/ - Project Page: points to
http://my-username.github.com/my-project
To create a User Page pointing to http://my-username.github.com/, do the following:
- Create a Github Project on Github named "my-username.github.com"
-
Create the base project:
Add the text
mydomain.comto the CNAME file, that's it.-
Add something to the index.html file so you know it's working:
-
Push to github:
1. Signup for Zerigo
Zerigo is a free Domain Management System SaaS, among other things. They make it easy to configure your domains. Way easier than anything I've ever seen.
2. Create an A record and a CNAME record for your domain name
They should look like this:

You'll probably have to wait up to 48 hours to see your new subdomains live.