December 15, 2013

Subdomains with Github Pages

It’s been a pleasure setting up First, since I’m hosting it in the same account as, when I first pushed the repo live, it took down my personal blog.

It turns out you have to regenerate each site when you push a new domain live. I asked on #github on Freenode, and a Github engineer reloaded it for me. I ran into the same problem when setting up, so I just repushed and events started working.

If you’re in the same position as me (or some related position, more likely), here are the tips I wish I’d found in someone else’s blog post.

  • A domain hosted on Github Pages should be pointed with an A record at the Github Pages IP address: If you want to use subdomains, point two records, one A record named “@”, and one named “*”.