HTTP/2 301
content-length: 0
location: https://docs.github.com/articles/setting-up-a-custom-domain-with-pages
HTTP/2 302
access-control-allow-origin: *
content-security-policy: default-src 'none';prefetch-src 'self';connect-src 'self';font-src 'self' data:;img-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com data: placehold.it;object-src 'self';script-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' data: 'unsafe-inline';script-src-attr 'self';frame-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com https://support.github.com https://www.youtube-nocookie.com;frame-ancestors 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' 'unsafe-inline' data:;child-src 'self';manifest-src 'self';upgrade-insecure-requests;base-uri 'self';form-action 'self'
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer-when-downgrade
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
cache-control: public, max-age=60
location: /en/pages/configuring-a-custom-domain-for-your-github-pages-site
content-type: text/plain; charset=utf-8
x-github-backend: Kubernetes
x-github-request-id: D782:360BED:19B1439:27E2215:68EB605D
accept-ranges: bytes
age: 0
date: Sun, 12 Oct 2025 08:01:33 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210074-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760256093.680702,VS0,VE1238
vary: accept-language, x-user-language, Accept
strict-transport-security: max-age=31557600
content-length: 86
HTTP/2 200
access-control-allow-origin: *
content-security-policy: default-src 'none';prefetch-src 'self';connect-src 'self';font-src 'self' data:;img-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com data: placehold.it;object-src 'self';script-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' data: 'unsafe-inline';script-src-attr 'self';frame-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com https://support.github.com https://www.youtube-nocookie.com;frame-ancestors 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' 'unsafe-inline' data:;child-src 'self';manifest-src 'self';upgrade-insecure-requests;base-uri 'self';form-action 'self'
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer-when-downgrade
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
cache-control: public, max-age=60
x-powered-by: Next.js
content-type: text/html; charset=utf-8
x-github-backend: Kubernetes
x-github-request-id: FE57:368E0D:86528:DBD8E:68EAC8F9
content-encoding: gzip
accept-ranges: bytes
age: 38755
date: Sun, 12 Oct 2025 08:01:33 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210074-BOM
x-cache: HIT
x-cache-hits: 0
x-timer: S1760256094.931795,VS0,VE1
vary: Accept-Encoding
strict-transport-security: max-age=31557600
content-length: 15277
Configuring a custom domain for your GitHub Pages site - GitHub Docs Skip to main content
Configuring a custom domain for your GitHub Pages site You can customize the domain name of your GitHub Pages site.
Who can use this feature? GitHub Pages is available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub’s plans .
GitHub Pages supports using custom domains, or changing the root of your site's URL from the default, like octocat.github.io
, to any domain you own.
You can set up or update certain DNS records and your repository settings to point the default domain for your GitHub Pages site to a custom domain.
You can increase the security of your custom domain and avoid takeover attacks by verifying your domain.
You can check for common errors to resolve issues with custom domains or HTTPS for your GitHub Pages site.
Help and support Ask Copilot your question. Ask Copilot