Cloudflare SSL not working with my server, just this server. Getting Error Code 521

Hello,

It seems my website won’t work on this certain server with the Cloudflare SSL. This is the only time I’ve gotten the error code 521 when my server is perfectly running. I disable the DNS proxy through Cloudflare & it works, It is only with the Cloudflare DNS, but I only encounter it when connecting via SSL.

Thanks
Austin

It’s possible your server just isn’t listening on Port 80 (or 443) for your domain.

What’s the domain?

hello,

The domain is currently https://austinzechar.com.

It is listening to the domain as far as I know, I set up virtual hosts the same way I’ve always done them.

Thanks
Austin

hello @sdayman

I’m not sure if you saw my reply above or not, but I really need an answer.

Thanks
Austin

It’s redirecting to http, then it gets the 521 error.

Did you want it to redirect to http? If not, then see where that’s happening. It’s either a Page Rule here, or a redirect set up at your server.

hello,

it was both http & https, turns out it was an issue with the way my web server was setup. I had to reinstall it anyways as it was failing to start, then I figured out it was the apache2 configuration. Apache2 did come pre-installed so maybe it was that!

Thanks you your help @sdayman

Austin

1 Like