DEV Community

Discussion on: How do you host a website for free?

 
pandaquests profile image
Panda Quests

Ah, my bad. It is using https. But the certificate is not valid:

pandaquests.de

Thread Thread
 
williamhenderson profile image
William Henderson

That's because your certificate is provided by GitHub but your hostname doesn't match... I think you have to either switch to http or provide your own certificate

Thread Thread
 
pandaquests profile image
Panda Quests

Ok. I'll have a look how I can provide a certificate.

Thread Thread
 
artis3n profile image
Ari Kalfus

You can use a custom domain with GitHub Pages and get a valid certificate from Let's Encrypt automatically. You need to ensure you have a CNAME file in your repo and your DNS settings are set up correctly. Check out docs.github.com/en/github/working-...

Thread Thread
 
pandaquests profile image
Panda Quests

Hmm... I think I did that. But it still says my certificate is invalid