August 14, 2026
How do I choose the primary domain on GitHub Pages?
Connect every hostname you intend to serve, choose one primary HTTPS hostname, permanently redirect the alternatives, and make canonicals and sitemaps agree.
Source checked 11 August 2026: GitHub Pages official documentation.