How do I connect my domain to GitHub Pages?

THE DIRECT ANSWER

Add the custom domain in your GitHub Pages repository settings and configure DNS using GitHub's current instructions for an apex domain or subdomain. Verify domain ownership where supported and enable HTTPS once available. Keep unrelated email records intact, and do not copy IP addresses from an outdated tutorial.

Protect the custom-domain binding

GitHub documents ownership verification and takeover precautions for custom domains. Configure the repository and DNS as a coordinated change, and remove obsolete DNS records when a Pages site is retired.

Your Next Steps

  1. 01

    Add the domain to the repository.

  2. 02

    Apply GitHub's current DNS instructions.

  3. 03

    Verify ownership and HTTPS.

From a name to a working website

Domain registration, site creation, and hosting are separate tasks, even when a provider bundles them. Keep control of your domain and check what can be exported before committing your content and business workflows to a builder.

What to check before you act
CheckWhy it matters
OwnershipRegistrar access and content rights.
FeaturesForms, payments, email, and integrations.
PortabilityCode, data, assets, and backend dependencies.
LaunchMobile usability, HTTPS, redirects, and working forms.

Go a little deeper

Continue with these NameSilo articles selected for this question.

Sources & Useful Links

Published 2026-11-17. Last updated 2026-11-17.

Ready for your next idea?

See if the domain you have in mind is available.

Find Your Domain