HostingFAQ guides

502 Bad Gateway on a website or WordPress

On this page

Confirm the failure

Run the HTTP checker on the homepage and the failing path. Record the timestamp and any CDN or proxy request ID.

Check the upstream server

A 502 means a gateway received an invalid upstream response. Review application and PHP worker logs, resource limits and recent deployments with your host.

Send details to support

Include the URL, time and time zone, frequency, action and any request ID.