22 Apr 2017
Configure the custom domain on your GitHub Pages site1:
On GitHub, navigate to your GitHub Pages site’s repository.
Under your repository name, click Settings.
Under “Custom domain”, add or remove your custom domain and click Save.
Set up your custom domain with your DNS provider, depending on the type of custom domain you have2:
Setting up an apex domain such as example.com.
Setting up a www subdomain such as www.example.com.
Setting up an apex domain and www subdomain such as example.com and www.example.com.
Setting up a custom subdomain such as blog.example.com.
“Adding or removing a custom domain for your GitHub Pages site”, GitHub Help. ↩
“Quick start: Setting up a custom domain”, GitHub Help. ↩