502 wp-admin

Hi all, I have a problem, my hoster moved my site to a new server and my IP changed a bit, I changed the DNS records. Now the site works, but I can not get to the page wp-admin, I get an error 502. I’ve been talking to the hoster for a few days, they don’t see any errors on their side, they say that without cloudflear the login page is displayed correctly. What could be the reasons? I have cleaned the cache and haven’t touched any other settings.

Hi there,

A 502 error typically indicates that Cloudflare is unable to establish a connection with your server. Here are the steps you should follow:

  1. Verify that your new server IP address is correctly updated in your Cloudflare DNS settings.
  2. Check if your hosting provider has any IP-based firewall that might be blocking Cloudflare’s IPs.
  3. Ensure your server is configured to accept connections from Cloudflare’s IP ranges.
  4. If the issue persists, temporarily pause Cloudflare to see if the issue is related to Cloudflare or your server setup.