DEV Community

Discussion on: GitHub Pages and Google Domains together

Collapse
 
maisak profile image
Anthony

Hi Bruno, thanks for the instructions, but how do you overcame NET::ERR_CERT_COMMON_NAME_INVALID error? This is because SSL cert is issued to github. I see that at your site the ssl is yours. Thanks in advance.

Collapse
 
brunodrugowick profile image
Bruno Drugowick

Hi, Anthony. Glad that I was helpful so far.

I actually didn't have to overcome any issue. Have you correctly named you repository in GitHub? For free accounts you can only have one GitHub Pages repository.

Also, after configuring the HTTPS option on GitHub and defining the CNAME on Google Domains, it takes a while to work.

Collapse
 
maisak profile image
Anthony

Woke up in the morning and it just works. Now, when I look at a cert it says issued to my own domain and issued by Let's Encrypt. Before it was a github cert. How is that working? I did nothing to get a letsencrypt cert. Is that a github's feature?

Thread Thread
 
brunodrugowick profile image
Bruno Drugowick

Glad that it worked!

AFAIK, yeah, it's a Github Pages feature.