Custom domains on GitHub Pages gain support for HTTPS
Encryption for all GitHub Pages sites
Today, custom domains on GitHub Pages are gaining support for HTTPS.
GitHub Pages is the best way to quickly publish beautiful websites for you and your projects. Just edit, push, and your changes are live. GitHub Pages has supported custom domains since 2009, and sites on the *.github.io
domain have supported HTTPS since 2016. Today, custom domains on GitHub Pages are gaining support for HTTPS as well, meaning over a million GitHub Pages sites will be served over HTTPS.
HTTPS (most recognizable as the lock icon in your browser’s address bar) encrypts traffic between GitHub’s servers and your browser giving you confidence that the page you asked for is the page you’re reading, from the site you think it is, and that others can’t snoop on or modify its contents along the way.
We have partnered with the certificate authority Let’s Encrypt on this project. As supporters of Let’s Encrypt’s mission to make the web more secure for everyone, we’ve officially become Silver-level sponsors of the initiative.
Configuring your domain
Action may be required on your part to secure your custom domain.
If you are using CNAME
or ALIAS
records for your custom domain, you’re all set and your site should be accessible over HTTPS. If it is, and your site loads correctly over HTTPS, you can optionally enforce HTTPS in your repository’s settings. Users who request your site over HTTP will be upgraded to HTTPS.
If you are using A
records, you must update your site’s DNS records with new IP addresses. Please see our guide to setting up your custom domain with Pages and update any A records you might have set.
Once your updated DNS records have propagated, and you’ve confirmed that your site loads correctly over HTTPS, you can optionally “Enforce HTTPS” for your domain in your repository’s settings, ensuring users who request your site over HTTP are upgraded to HTTPS.
Faster site load times
These new IP addresses don’t just allow us to serve your site over HTTPS, but also places your site behind a content delivery network (CDN), allowing us to serve your site from data centers around the world at fast speeds, and offering additional protection against DDoS attacks. While the previous IP addresses will remain available for a transition period, we recommend you migrate to the new IP addresses to gain these benefits.
HTTPS is immediately available for all GitHub Pages sites. Learn more in our documentation for the feature. Having trouble? Drop us a line.
Written by
Related posts
Hotkeys and Wikis
Hey everyone, welcome to GitHub. Keep your feedreader pointed here for daily updates on new features, bug fixes, and general gitbauchery. First up: we just enabled hotkeys for trees and…
The Blog Arrives
The blog is finally here. This is where we’re gonna drop all sorts of Git and GitHub related eggs of knowledge: new features, upcoming features, bug fixes, etc etc. Also,…
Oh yeah, there’s pull requests now
Last night I pushed out a feature Tom and I have been talking about since day one: pull requests. That’s the short walkthrough. You can use it to tell people…
Activity Feeds Are Go
Activity feeds are now active. Three, in particular: events for you, events from you, and public events from you. The private feeds are protected with HTTP authentication. You need to…
One Thousand Strong
The first repository in the production db was created October 29th. The first private beta repository was created January 12th. The 1,000th repository was created today, Feburary 25th. (And yeah,…
hCardy Profiles
We added a ‘profile’ link to your badge tonight, giving you easy access to your public profile. It’s, more or less, what everyone else sees. To go with it, we…
Myspace for hackers?
rtomayko says GitHub is ‘Myspace for Hackers‘ over on his blog. Flattering, yes, but read closely: this dude gets it. From his post: “Pull requests” happen every day over email…
Multiple Emails!
You can now add multiple emails to your account using the, uh, account link. And hey, are your commits not being linked to your GitHub account? Here’s why: the most…
The GitHub Changelog
Update: We’ve discontinued this feature. Just like Facebook and FriendFeed, we’re now showing off our commit log. Not every change merits a blog post, y’know?
GitHub: Free for Open Source
Lately people have been asking about our pricing plan. While we’re not ready to reveal it quite yet, we are ready to talk about one aspect of it: GitHub will…