Hi everyone,
I'm trying to host my hugo website on github with the custom subdomain https://www.priteshusadadiya.com results in
Your connection is not private
When i remove https from url then it results in a website without bootstrap styling.
I followed github's troubleshooting guide but no luck.
Here is DNS A records.
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
I have also added one CNAME record
www CNAME priteshusadadiya.com
I have also tried removing and re-adding my custom domain to the repository, still no luck.
Repo : https://github.com/priteshusadadiya/priteshusadadiya.github.io
Tried searching for solution on stackoverflow and github issues but coudn't find any. Can anyone please help me debug this ?
Thanks,
Pritesh
Update
Finally figured it out what was wrong with my DNS Configuration ?
The problem was that i had created a sub-domain WWW
which was pointing to the apex (Main) domain priteshusadadiya.com
CNAME record
www CNAME priteshusadadiya.com
All i had to do is make it point to the priteshusadadiya.github.io
CNAME record
www CNAME priteshusadadiya.github.io
and it worked. 🙌
Not sure about your issue but on my side under the CNAME (in my domain provider config) i have :
And i remember that it took around a day for Github to generate the https certificate.