Per Wramdemark Curious and passionate Java developer

HTTPS on GitHub Pages over custom domains

Noticed that GitHub Pages gained support for HTTPS over customer domains. Actually quite a few months ago.

Adding HTTPS was a breeze. I just needed to update my DNS editor with four new IP address found here.

Wait five minutes for your newly configured DNS settings to spread around the Internet. Then reconfirm the DNS configuration with below command in the terminal window.

dig +nostats +nocomments +nocmd

The above mentioned IP addresses should appear. After that I went into the Settings page on my GitHub Pages repository and re-added the custom domain. Voila, HTTPS spot on.

GitHub Pages are working together with the great organization Let’s Encrypt who is working for securing the Internet. I have already used Let’s Encrypt in other projects, for instance when running my home automation system, Home Assistant.

Jekyll, Lanyon and Github Pages.

Finally got this website up and runnig thanks to Jekyll, Lanyon and Github Pages. They have all been around for a couple of years, but I have missed them.

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes.

Lanyon is the theme used for this web site. Great looking and perfect for a small blog site.

Github Pages is hosting the web site, so it’s all administered and version controlled through Github.