Skip to content

Does Github Pages support HSTS TLDs for custom domains? #113716

Closed Answered by Tgentil
nuxy asked this question in Pages
Discussion options

You must be logged in to vote

Yes, GitHub Pages supports custom domains, including those requiring HSTS like .dev domains. When you configure a custom domain on GitHub Pages, you can enforce HTTPS, which is essential for HSTS compliance. It's important to correctly set up DNS records with your DNS provider for this purpose.

For detailed guidance on setting up your custom domain and enforcing HTTPS on GitHub Pages, you might find these GitHub Docs helpful:

I also found this blog very helpful:

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nuxy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pages Host a static website, right from your repo Question
3 participants