Custom URL page doesn't load with "Connection is not private"

I recently set up a github pages homepage/blog with a custom URL. I followed the guide here. ( My setup has worked mostly as now my website appears at
My problem is with CNAME and www version of the website, which doesn’t work (

I think I have setup my CNAME content and DNS configuration (Google domains) correctly, the photos are attached.

Please let me know if you have any ideas how to fix this.

Did you find a solution? I’ve exactly the same problem and same DNS setup.

Cheers, Fons.

If you’re using the built-in Pages HTTPS support, the certificate will only work with the apex domain or the subdomain, not both. See this other topic for more information. Since this is a duplicate of that topic, I’m going to close this one and you may want to continue the conversation there.