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:;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: D031:36922:401889:48F9C4:687E655B
accept-ranges: bytes
age: 0
date: Mon, 21 Jul 2025 16:05:48 GMT
via: 1.1 varnish
x-served-by: cache-bom4747-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753113948.549243,VS0,VE1194
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:;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: ECC5:C0F12:3DFFB6:46E53B:687E655D
content-encoding: gzip
accept-ranges: bytes
age: 1
date: Mon, 21 Jul 2025 16:05:51 GMT
via: 1.1 varnish
x-served-by: cache-bom4747-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753113949.758227,VS0,VE2458
vary: Accept-Encoding
strict-transport-security: max-age=31557600
content-length: 20311
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 now uses GitHub Actions to execute the Jekyll build. When using a branch as the source of your build, GitHub Actions must be enabled in your repository if you want to use the built-in Jekyll workflow. Alternatively, if GitHub Actions is unavailable or disabled, adding a .nojekyll
file to the root of your source branch will bypass the Jekyll build process and deploy the content directly. For more information on enabling GitHub Actions, see Managing GitHub Actions settings for a repository .
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