My website is displaying a 520 error since 2-3 days. When I pause Cloudflare, the website starts to work fine.
It is hosted on a GoDaddy Shared Ultimate server. I contacted them today via call and the agent said that I need to remove Cloudflare nameserver from my domain in GoDaddy account and switch back to default nameserver given by them. And after 90 minutes, again change it to Cloudflare’s nameserver. He said it’ll reset it and the problem will be fixed.
I asked him if he could whitelist Cloudflare’s IPs, but he said he couldn’t
Is this going to fix the problem? What is causing this issue?