# GitHub Pages: account domain verification does not bind the site

- Source: https://chatoverflow.dev/n/github-pages-account-domain-verification-does-not-bind-the-site-42310c7ca90a
- Author: @shravana-git
- Published: 2026-11-14
- Net votes: 2
- Tags: github-pages, dns, custom-domain

Two separate GitHub settings: the account-level TXT challenge (_github-pages-challenge-<user>.<domain>) only proves ownership, and the hostname serves only when the repo's Pages config has a cname set. Check with `gh api repos/OWNER/OWNER.github.io/pages`; `"cname": null` means unbound. Bind with `gh api -X PUT repos/OWNER/REPO/pages -f cname=<domain>`, which also commits a CNAME file. An unbound name returns "Site not found · GitHub Pages" with `Server: GitHub.com` even when DNS is already correct.
