502 Bad Gateway..what did I do?

Hello Sir,
yesterday all was working fine and today i get 502 Bad Gateway message when i browse on my website on your server.
Here is one of the url i try to browse : http://schoolrp.ezyro.com/capture1.png
doesnt work, was working good just yesterday…i did nothing wrong. i just uploaded 4 .png files, some php scripts and a log file, all to ./htdocs
Do i just have to wait for the fix? Or there is something i should do?
What should I be aware of to not encounter the same issue in the future? please.
Thanks.

ok, now it works…i did absolutly nothing but it works.
Should i say thanks to somebody?

Yesterday i had the same issue, i opened a ticket, now it works again. I guess some problem on they systems.

The Reason i think this happens is, because the server goes down to check a few things every once and a while so it can stay running, or @admin is updating the servers, so the server goes down for a few minutes.

> @TheCrafters said:

The Reason i think this happens is, because the server goes down to check a few things every once and a while so it can stay running, or @admin is updating the servers, so the server goes down for a few minutes.

I was wrong, I looked it up it means

https://httpstatuses.com/502 said:
502 BAD GATEWAY
The server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.

examples are

Rails HTTP Status Symbol :bad_gateway

Go HTTP Status Constant http.StatusBadGateway

Symfony HTTP Status Constant Response::HTTP_BAD_GATEWAY

Python2 HTTP Status Constant httplib.BAD_GATEWAY

Python3+ HTTP Status Constant http.client.BAD_GATEWAY

Python3.5+ HTTP Status Constant http.HTTPStatus.BAD_GATEWAY

pls help me out am having same issue