Currently, my root domain redirects you to my Github page. I want to use a CNAME record to create github.mydomain.com and have that take you to my Github. However, you can’t just put in the IP address of the A record into a CNAME. I also can’t just put the direct link to my Github in the CNAME. Once this is done, I don’t want my root domain to go anywhere, so I can’t have github.mydomain.com point to my root domain. What am I missing here? How would I get this accomplished?
Also, side question, why does going to the IP address that your A record points to not work?
Thank you very much!