Use custom subdomain with A records #22928
-
I want to use my pages site with a custom subdomain like blog.example.com. 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? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
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! Cheers! |
Beta Was this translation helpful? Give feedback.
-
Thanks thats fine for me. Is there any way to turn off the e-mail warning I get every time I push? |
Beta Was this translation helpful? Give feedback.
-
Sure thing! Check out our Help article on how to do this. |
Beta Was this translation helpful? Give feedback.
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!
Cheers!