I created a Jekyll-powered blog and am hosting it with GitHub Pages.
Now, I want to set up a subdomain (blog.example.com), but can\'t make it work.
I have added
The setup is different for domains like example.com and sub-domains like blog.example.com.
blog.example.com, click Delete in the Actions columnexample.comCNAME record:
blogCNAMEyourusername.github.io. (yes there is a . at the end!)example.com, click Edit in the Actions column and switch to DNS only hosting (it's at the bottom)example.comA record:
A185.199.108.153 (GitHub, from this page)CNAME record:
wwwCNAMEyourusername.github.io. (yes there is a . at the end!)(Yes, you need both the A and CNAME records in this case.)
Btw, the only reason I know this is because I did the same thing last weekend. I was quite lost, but the helpful support guys helped me half way, and I figured out the rest. This procedure works for me, I needed both cases so I tested both.
Because of the way DNS records are cached across the internet, these sorts of changes can take a few hours to take effect. It looks like the address you provided resolves correctly now.