SSL error without "www" in the URL

Hi!

I successfully set up a Hugo website using Pages and my own domain. When I connect my website as www.mysite.com, SSL works well, but when I only type “mysite.com”, I get a “not secure” error from the browser. Did I fail to redirect somehow?

Thanks a lot in advance for any help!

/BT

What is the domain name?

buraktunca.com

As your domain is not on Cloudflare, but you are using Cloudflare Pages, to get the apex domain to work you will need to redirect from buraktunca.com to www.buraktunca.com on your existing host/origin (and so needs an SSL certificate there).

https://cf.sjr.org.uk/tools/check?a035796f375c46c5adada3a9428a4ce8#dns

Or you can add your domain to Cloudflare…

1 Like

Thank you! Will check it on the existing host!

Your DNS record for buraktunca.com isn’t set up for Cloudflare Pages.

dig +short buraktunca.com
50.18.142.31
13.57.148.141

dig +short www.buraktunca.com
btcom.pages.dev.
172.66.44.111
172.66.47.145

You can see the difference. You would need to change your DNS record, but I don’t believe that CNAME flattening is something GoDaddy supports.

2 Likes

Thank you for all replies. If I move my .com domain to Cloudflare, will this problem be resolved for sure?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.