# How do I connect my domain to GitHub Pages?

Canonical: https://www.namesilo.com/questions/websites-and-ai/how-do-i-connect-my-domain-to-github-pages

Published: 2026-11-17

Last updated: 2026-11-17

Topic: Websites & AI

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

Add the domain to the repository

Apply GitHub's current DNS instructions

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.

Ownership: Registrar access and content rights.

Features: Forms, payments, email, and integrations.

Portability: Code, data, assets, and backend dependencies.

Launch: Mobile usability, HTTPS, redirects, and working forms.

## Sources

- [GitHub Pages: configure a custom domain](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site)

- [GitHub Pages: configure a custom domain](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site)

- [Google Search: site moves with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes)
