Setting up SSL on a static site with a custom domain

Hey! I’m writing a static site that I’m gonna use as a homepage. I’m hosting it through Glitch, and the direct Glitch URL works with HTTPS just fine. I’ve also got it configured to have a custom domain, but for some reason I can’t access it through HTTPS when using the custom domain. My registrar service, Porkbun, says they’ve generated an SSL certificate, but I’m not sure how to give it to Glitch and get it all hooked up. Any recommendations on how to get this working?

Glitch automatically generate and include a SSL certificate for every custom domain. So, you don’t need to use your custom certificate.

2 Likes

Sounds good! I’ll just revoke Porkbun’s, then.

Yep, that worked perfectly! Thank you ^.^

1 Like

Hey! I am having this issue as well, although I’m using namecheap. Is there anything else I have to do to activate https? Or does it just kick in after some time?

Hi @mbeswetherick - it should happen automatically, although it may take a few minutes for the ssl cert to process. If after an hour, https doesn’t work but http does, I recommend removing the domain from just the Glitch editor side and re-adding it (no need to change your Namecheap settings) and if that doesn’t create an SSL cert within an hour, email support@glitch.com with the domain and project and we’ll ask the folks who run the service we use for help!

thank you!