Pointing a subdomain to Github Pages

Posted by ratage on Pro Webmasters See other posts from Pro Webmasters or by ratage
Published on 2012-02-07T17:17:33Z Indexed on 2012/04/08 5:47 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

I set up an Octopress blog on Github Pages at myusername.github.com. I now want blog.myusername.me (which currently has a Wordpress blog set up) to point to this Octopress blog.

So I followed the instructions here on setting up a custom domain:

  • I ran echo 'blog.myusername.me' >> source/CNAME in my Octopress repository, and then ran rake generate and rake deploy to deploy it to Github.
  • I went to Namecheap, and added a new CNAME under my myusername.me domain: "blog -> myusername.github.com -> CNAME".
  • Waited a couple hours.

However, now when I go to myusername.github.com, it redirects me to blog.myusername.me (which is my old Wordpress blog), which seems like the inverse of what I want. (Going to blog.myusername.me directly still shows my Wordpress blog.)

I checked http://www.whatsmydns.net/#CNAME/blog.myusername.me and it seems like my DNS has propagated (myusername.github.com shows up in the right-hand side).

Any ideas what I'm doing wrong?

© Pro Webmasters or respective owner

Related posts about domains

Related posts about dns