Goals • http://sathomas.me hosted on Github • Version control on all assets • Invisible to visitors • Selected projects as URLs http://sathomas.me/cv ➞ cv project • Other projects as normal http://sathomas.github.com/responsiveTabs • External redirects http://sathomas.me/blog ➞ scriptogr.am
Set Up the Main Site • Create repository named sathomas.github.com • Add content (HTML, CSS, Javascript) to master branch • http://sathomas.github.com is now live
Map a Custom Domain • Create file “CNAME” in root folder of the master branch. File has single line: sathomas.me • Map domain name to Github in registrar sathomas.me 204.232.175.78 A • Allow optional www prefix www sathomas.github.com CNAME
Create Project Sites • For projects that will have a web page (e.g. cv ➞ http://sathomas.me/cv) follow steps in Github documentation to create gh-pages branch
Create a Custom 404 Page • Otherwise 404 errors will redirect to standard Github 404 page • Name the page 404.html and drop it in the root directory of the main site