Reputation: 227
GH-pages tells me the domain is not eligible for HTTPS at this time. I am wondering how do I enable this with a Godaddy purchased domain? My site is connected and running properly, but I cannot get HTTPS to work. I have also checked that there are no mixed-asset types in my index.html
Upvotes: 5
Views: 4997
Reputation: 1
To anyone who is still troubled by this issue, the following is my solution:
Step 1: Make sure your domain has been verified in your Github account;
1a: A, AAAA and CNAME DNS Records for the domain are set up properly
1b: A ad AAAA Records directed to the latest Github Pages IP
addresses.
1c: For more detailed instructions, you can follow this guide, which includes all the necessary information and resources needed to properly set up your DNS records.
Step 2: Get a SSL Certificate for my GoDaddy domain and website.
NOTE: There are many free SSL providers - any will do as long as one remembers to renew them every 90 days. I used ZeroSSL, but I recommend PunchSalad since it's cleaner and faster.
Step 3: Go through the entire SSL publish process. You don't need to download and update the certificate to your website via cPanel or other hosting services, but it is recommended (however do require monthly subscription fee).
Step 4: Go back to Github settings and enable "Enforce HTTPS" option, which should now stay checked instead of greyed out or automatically uncheck itself and drive you mad.
And by the way, if you followed the steps above but found out the "Enforce HTTPS" option is still grayed out, return to the site where you get your SSL Certificate and double check that the entire certification publication process has finished, and the SSL Certificate is officially published.
Upvotes: 0
Reputation: 39
There will be 4 entries of A and 1 entry of CNAME. Remove the other entries with A and CNAME rest of the type of entries will remain there.
Upvotes: 1
Reputation: 227
I figured out that in the DNS records that are automatically configured with the GoDaddy domain, you must remove that A Record that has the value of park
.
Upvotes: 7