Hosting a github page site to subdomain of a domain


  • Host the website the same way as above and add the CNAME file containing the domain with subdomain i.e blog.google.com here blog is the subdomain of google
  • In the dns settings of the custom domain add a CNAME record
Type HostValueTTL
CNAME(ALIAS)blog.google.comuserName.github.io.Automatic