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


#1

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


#2

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

What’s the domain?


#3

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


#4

hello @sdayman

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

Thanks
Austin


#5

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.


#6

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