# I have separate GitHub Pages sites for different projects. Can each use a subdomain of my personal domain?

Canonical: https://www.namesilo.com/questions/websites-and-ai/i-have-separate-github-pages-sites-for-different-projects-can-each-use-a-subdomain-of-my-personal-domain

Published: 2026-11-20

Last updated: 2026-11-20

Topic: Websites & AI

Separate GitHub Pages projects can use separate custom subdomains configured in each repository's Pages settings.

Assign each project its own subdomain

Create the DNS records GitHub specifies and verify ownership where instructed.

Your next steps

Configure each Pages site

Add matching DNS records

Check ownership and HTTPS

Before you proceed

Avoid leaving a DNS record pointed at a deleted or unclaimed Pages site.

First: Configure each Pages site.

Next: Add matching DNS records.

Confirm: Check ownership and HTTPS.

## Sources

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

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

- [Microsoft: prevent dangling DNS and subdomain takeover](https://learn.microsoft.com/en-us/azure/security/fundamentals/subdomain-takeover)
