Use custom subdomain with A records

I want to use my pages site with a custom subdomain like I have set up A records for that and it works, but the account page shows a warning that using CNAME records is recommended. Why arent A records for subdomains not recommened like for apey domains? Does this still work?


Hi @niklasmerz,

Thanks for being part of the GitHub Community Forum! A records will work just fine, but CNAME records are considered best practice, so that’s why we recommend them. 

I hope this helps!


1 Like

Thanks thats fine for me. Is there any way to turn off the e-mail warning I get every time I push?

Sure thing! Check out our Help article on how to do this.

1 Like