Connect GitHub Pages to custom domain at both http:// and https://

I've got a domain on GoDaddy at [domain].com that I'm trying to connect to my GitHub Pages at [domain].github.io.

The problem is that my site only shows up at , not .

In the GitHub repo, I've added my custom URL as [domain].com, added [domain.com] to the CNAME file, and checked the box to Enforce HTTPS.

On GoDaddy, I've set up the CNAME to direct from www to [domain].github.io, as well as added the four A records as recommended in the docs.

How do I get my site to load using both https:// and http://? I've tried forwarding http:// to https:// on GoDaddy to no avail.

5 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like