Scott's Recipes Logo

HTTPS And Your Custom Domain on Github Pages

Pizza courtesy of Pizza for Ukraine!

Donate Now to Pizza for Ukraine

 

Github for sometime now has supported https for *.github.io (aka GitHub pages). And they have allowed it for custom domains as well. However I was never able to figure this out until yesterday. Here was the magic process and well as some references.

My issue was that I had three “sites” hosted on GitHub pages:

I tend to look at my online presence mostly as my blog / recipes. I had actually forgotten that the root personal home page site even existed. And the issues preventing me from having https working amounted to this:

Note: If you can’t remember which git repo drives your GitHub Pages, look in the directory and file .git/config. It will be right there; look for a url / .git filename.

Note: In case you were wondering why you want https, there are lots of reasons but the best is that it should give your content at least a small boost in page rank.

Here are the recommended tech notes from Github on all this: