You can check for common errors to resolve issues with custom domains or HTTPS for your GitHub Pages site.| GitHub Docs
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.| GitHub Docs