How to enable https support on custom domains #23049
-
I have a registered domain - https://mentalhealth-kb.net and added a Let’s Encrypt certificate to it last week. The GitHub Pages URL for it https://mhwkb.github.io/ The first problem is that in the options for my repo, under the custom domain section, the check box is disabled (after I enter in the the custom domain and save).
The second problem is that when I go to https://mentalhealth-kb.net in my browser, I get the message
|
Beta Was this translation helpful? Give feedback.
Replies: 30 comments 26 replies
-
I changed my A records to 185.199.108.153 Now waiting for DNS to update |
Beta Was this translation helpful? Give feedback.
-
I’m getting the following message after updating my DNS to point to the four IP addresses: Enforce HTTPS — Unavailable for your site because you have a custom domain configured |
Beta Was this translation helpful? Give feedback.
-
@tagatuhaI’ve got that message too, but it’s changed a few times for me since I started fiddling with my settings. Right now I’m told Unavailable for your site because your domain is not properly configured to support HTTPS I’m gonna let it sit for a day or 2 and see how things look after the DNS update. I’ll post here if I get things straightened out properly and make notes on what I’ve done. |
Beta Was this translation helpful? Give feedback.
-
Hi @andy5995, @donotspampls, and @tagatuha, Edit: You need to use our new IP addresses to set up custom domains. These are:
If you are still having this problem after using these new IP addresses and haven’t opened up a ticket with our support team, could you please contact us at git.io/c? That way, we can help resolve this issue. Thanks! |
Beta Was this translation helpful? Give feedback.
-
In my case, I had to remove the custom domain from the repository settings, then re-add it. This did not immediately work, but nine hours later, the certificate was issued and my site started being served over HTTPS. So I would suggest to anyone having difficulty to first try removing and re-adding their custom domain, if they have not already done so. And secondly, a little patience may be required – the process can take a number of hours. |
Beta Was this translation helpful? Give feedback.
-
I deleted the custom domain (setting the custom domain field to empty and hit save), waited 30 seconds, and then added my domain again. Now I’m getting the expected message! Fast forward 5 minutes and the certificate was issued and the checkbox was clickable. Now I have HTTPS :smileyvery-happy: Enforce HTTPS — Not yet available for your site because the certificate has not finished being issued |
Beta Was this translation helpful? Give feedback.
-
Thanks @tagatuha , I did what you said, but 12 hours later, I still see Enforce HTTPS — Not yet available for your site because the certificate has not finished being issued with a checkbox I can’t click. @that-patI’ll open a ticket, thanks for the suggestion. |
Beta Was this translation helpful? Give feedback.
-
After opening a ticket, support staff resolved the issue in less than 30 minutes. |
Beta Was this translation helpful? Give feedback.
-
I renew my A records, deleted my custom domain and added it again. But this message shows about one day: Enforce HTTPS — Not yet available for your site because the certificate has not finished being issued (upupming.site) 😢 |
Beta Was this translation helpful? Give feedback.
-
Hi @upupming I marked this ticket as solved a few days ago. Check out page 1 for the post marked as “solution”. Good luck! |
Beta Was this translation helpful? Give feedback.
-
Hi, Me too. I got the same problem. I changed my domain yesterday. Did you solve that right now? |
Beta Was this translation helpful? Give feedback.
-
Me too. It doesn’t work same: Not yet available for your site because the certificate has not finished being issued |
Beta Was this translation helpful? Give feedback.
-
Why does this require to create ticket to solve issue everytime, 3 days back I hosted a githubpage and then this issue was sloved after writing to support. Today I created a page and same issue created tocket to GH support and waiting to reply from last 5 hours, no reply yet. |
Beta Was this translation helpful? Give feedback.
-
I assume it’s because not all the bugs have been worked out of the automated process yet. It’s a very new feature. |
Beta Was this translation helpful? Give feedback.
-
Hi @jonathanchaochen and @carsarena, As the Accepted Solution to this thread states, if you’re still experiencing issues with HTTPS, you should reach out to our support team so we can help. Cheers! |
Beta Was this translation helpful? Give feedback.
-
How do I use that to add it to my custom domain? |
Beta Was this translation helpful? Give feedback.
-
Took about an hour in my case. |
Beta Was this translation helpful? Give feedback.
-
I renew my A records, deleted my custom domain and added it again. But this alert shows continuously from last Monday: Enforce HTTPS — unavailable for your site because your website is not properly configured. why this !! |
Beta Was this translation helpful? Give feedback.
-
If you're using Cloudflare you need to disable their proxy feature
|
Beta Was this translation helpful? Give feedback.
-
In my case, I had to remove the custom domain from the repository settings, then re-add it. Immediately, the certificate was issued and my site started being served over HTTPS. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
@ldjb thanks to this guy's suggestion, I was able to solve the "Enforce HTTPS Unavailable" issue for my website. When I tried to enable HTTPS enforcement on my domain, I received an error saying my domain was not properly configured to support HTTPS (mywebsite.domain). To fix this, I removed the custom domain configured in my Pages settings and then added it again. After waiting about a minute, the "Not Secure" warning disappeared from my domain - it worked! Let me share the steps I took that led to this issue in case it helps others: I built my website using GitHub Pages at guanerlin.github.io |
Beta Was this translation helpful? Give feedback.
-
First remove all unnecessary records. Then give enough processing time, We need patience. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Yes it workef for me, I removed forwarding on godaddy.
…On Mon, 27 May 2024 at 11:28 AM, ChrisFb98 ***@***.***> wrote:
did it worked? i got the same message as you
—
Reply to this email directly, view it on GitHub
<#23049 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFMMI3Z5QFCMK42KE6LTN7LZELDORAVCNFSM56UK3G32U5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TSNJWGY2DINI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
what worked for me is adding www followed by domain name insted of the just domain name |
Beta Was this translation helpful? Give feedback.
-
https://youtu.be/XQKkb84EjNQ Finally after doing everything, I was using cloudflare. You can setup dns settings without actually starting the processes, but you have to choose a plan for your service to actually start everything. So if you want the free plan choose that and finish the process, you can skip some of them and then it should work. And ofcourse follow this comment https://github.com/orgs/community/discussions/23049#discussioncomment-3238817 |
Beta Was this translation helpful? Give feedback.
-
If you have the domain from GoDaddy just clearing the unnecessary DNS solved this issue for me. |
Beta Was this translation helpful? Give feedback.
-
Hi, Correct DNS Setup: |
Beta Was this translation helpful? Give feedback.
-
I was facing the same issue then I tried https://register.domains/en/hs/ssl-certificates which helps me to fixed the issue by providing a valid SSL certificate and assisting with proper DNS configuration. Your current SSL setup conflicts with GitHub Pages' HTTPS enforcement, which requires correct domain settings. |
Beta Was this translation helpful? Give feedback.
Hi @andy5995, @donotspampls, and @tagatuha,
Edit: You need to use our new IP addresses to set up custom domains. These are:
If you are still having this problem after using these new IP addresses and haven’t opened up a ticket with our support team, could you please contact us at git.io/c? That way, we can help resolve this issue.
Thanks!