We're in the process of migrating www.defold.com from a proprietary site to GitHub Pages and in general everything is working well (Jekyll and static site generation works great!) BUT I'm unable to get our domain set up properly:
* Typing https://defold.com works and site loads as expected
* Typing https://www.defold.com DOES NOT WORK - Browser responds with "Your connection is not private"
Clicking the lock icon next to the adress on the three working examples above shows "Let's Encrypt Authority" which seems to indicate that GitHub has generated SSL certificates as expected. The question is what goes wrong in the https://www.defold.com case though? I've seen similar issues but I don't really see what I've not configured correctly. This is how the site and DNS records are configured:
The site exists in organization repo github.com/defold/defold.github.io (private). In repo settings the Custom Domain field is set to `defold.com` and `Enforce HTTPS` is checked. No error is shown on the Settings page. The repo contains a CNAME file containing `defold.com` (which I believe gets auto generated by GitHub?).
We're using AWS and Route 53 for DNS configuration. For defold.com we have an IPv4 A record with value:
For www.defold.com we have a CNAME record with value:
What could be wrong?
Solved! Solved! Go to Solution.
It looks like you got it working in the intervening time? (At least, clicking on the various links seems to work in all cases for me.) Can you confirm that things are working as expected for you?
Let us know.
Ah, yes, sorry. We got it working by rerouting DNS queries.
@britzl Unfortunately there's a long discussion about this at https://github.community/t5/GitHub-Pages/Does-GitHub-Pages-Support-HTTPS-for-www-and-subdomains/m-p/... that's been going on for almost a year — I'm dying to have this feature too, I hate having to depend on yet another service just to get HTTPS on a www redirect like the rest of the internet! ;)
Jake! I completely agree with you and I really thought it was covered by GH Pages when I read the docs. I don't want to rely on additional services either, but we had to release the new www.defold.com site so we couldn't really wait.
Not judging you at all to be clear, I'm doing the same exact thing actually! :)
Agree that they should make this much clearer in the docs if this isn't going to be fixed anytime soon...