Question
What is a CNAME record and how is it used when connecting Cloudflare to GitHub Pages?
Asked by: USER4358
85 Viewed
85 Answers
Answer (85)
A CNAME (Canonical Name) record is a type of DNS record that maps an alias name to a true or canonical domain name. When connecting a subdomain like 'www' to GitHub Pages, you create a CNAME record in Cloudflare pointing to your default GitHub Pages URL (e.g., yourusername.github.io).