-
Select Topic AreaQuestion BodyI'm trying to use A definitive answer from Microsoft would be helpful in this regard, or update to the Pages documentation that clarifies HSTS support. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I am not aware of us not supporting HSTS TLDs (like |
Beta Was this translation helpful? Give feedback.
-
Yes, GitHub Pages supports custom domains, including those requiring HSTS like 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: |
Beta Was this translation helpful? Give feedback.
-
This seems to be related to an issue on my part when Github Pages was set-up in conjuction with verifying custom domains, and quite possibly DNS record caching. After falling back to using only the CNAME the page can now be accessed successfully. |
Beta Was this translation helpful? Give feedback.
-
@Tgentil 's answer above is incomplete. GitHub Pages supports HTTPS, and will send HSTS for domains that require it, e.g. |
Beta Was this translation helpful? Give feedback.
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: