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.
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!