502 error for wordpress fresh install

I have a fresh install of Wordpress.
When I open the page, it says

502 Bad Gateway

nginx/1.18.0 (Ubuntu)

This domain was added as a alias to a site before.
I have removed that site already.

A 502 error could be a lot of things. For a WordPress app, I’d check first the NGINX heartbeat in server > services and see if that provides any hints. If not, then check the NGINX error log in the server > logs section.

Another typical troubleshooting tip would be to restart NGINX and the database in server > services. Works more often than you’d think. :slight_smile: