When you see the 502 Bad Gateway error while using a custom host then there can be multiple reasons. Some of them are noted below:
- Your web server is down
- Your web server is blocking our requests
- Your PHP-FPM service is down
Make sure all of your web services are working correctly.
If your web server is blocking our requests, click here to see how to resolve this.