August 14, 2026
Can I connect only a subdomain to GitHub Pages?
Usually yes. Add the full subdomain in GitHub Pages and publish the platform-provided CNAME or other record without moving the apex unless the official workflow requires it.
Source checked 11 August 2026: GitHub Pages official documentation.