How to add Cloudlfare SSL Certificate instead InfinityFree SSL?

I have checked your site.

For starters, your SSL certificate seems fine. When I try to access it with cURL, I see that it’s using a certificate from Cloudflare. So your website is using the right nameservers and the Cloudflare proxy is enabled.

However, your website doesn’t seem to load at all when checked in a browser, and the response from Cloudflare says status code 520, which means “Webserver is returning an unknown error”.

When I check your website without Cloudflare and connect directly to the website IP (using hosts file overrides), your website is working.

So my guess is that your DNS settings in Cloudflare are not correct.

Please make sure that your settings in Cloudflare are set up as described in this article:

If that doesn’t solve your issue, please share a screenshot of the DNS records you have set in Cloudflare for your domain.

4 Likes