My site is laghss. edu .in. It is hosted on Google sites. I have been a user of Google Admin Console, and has used the option to redirect naked domain to www. laghss .edu .in. I have enabled full ssl in Cloudflare.
When I simply type laghss .edu. in, it redirects to https:// www. laghss. edu. in. Fine
When I type http:// laghss . edu .in, it redirects to https :// www. laghss .edu .in. Fine
But when I type https:// laghss .edu .in, it shows error 525.
Please provide me a solution.
Youâd be better off handling the redirects with a Page Rule:
Match: example.com/* and add a Setting for Forwarding URL (Code 301) to https://www.example.com/$1
Correct, so if the OP can avoid hitting the origin for the naked domain, they can redirect it here and then go to the origin for a successful connection to www.
Not sure what you are trying to say. The problem is the OP apparently configured Full and does not have a properly configured origin. No redirect will fix that. He either switches HTTPS off altogether or - God forbid - to Flexible or fixes his SSL issues.
www works over SSL. They only get an error when hitting the HTTPS naked domain at the web server. If they can redirect that naked domain request before it hits the web server, they redirect to HTTPS âwwwâ which works.