What is GitHub Pages CNAME Helper?
A CNAME file tells GitHub Pages which custom domain should be attached to a published site. The file must contain only the domain name, with no protocol, path, or extra text. This helper is for beginners who want to avoid small formatting mistakes before pushing a site to GitHub.
How to use this tool
- Enter the custom domain you want to use for GitHub Pages.
- Choose whether the site will use a www subdomain or an apex domain.
- Copy the CNAME file content into a file named CNAME at the published site root.
- Apply the DNS notes at your domain provider, then enable HTTPS in GitHub Pages settings.
What you can use it for
- Create the CNAME file for a custom GitHub Pages domain.
- Check whether a www or apex domain setup needs different DNS records.
- Document DNS changes before updating a domain provider.