Home / Solutions / Website down
Website down: 502, 503, 504 and 524 errors fixed at the root
Is your site showing a 502, 503, 504 or 524 error? We get into the server, find the cause, bring the site back online and explain what happened.
Support Monday to Friday, 8 a.m. to 5 p.m. Brasília time, with priority for sites that are down or hacked. Outside those hours, we assess each case and, if we can help, there's an additional fee. Our first reply includes the diagnosis; how long the fix takes depends on the cause.
What's included
- Site back online as soon as possible
- Cause found in the logs, not by trial and error
- Fix made with a backup
- Report on what happened
- Recommendations so it does not happen again
What each error usually means
The error code already tells you where the chain broke: at Cloudflare, the web server, PHP or the database. That is where we start.
| Error | Most common cause | What we do |
|---|---|---|
502 Bad Gateway | PHP stopped or did not answer the web server (PHP-FPM out of free workers, out of memory). | We restart safely, find what brought PHP down and tune workers and memory. |
503 Service Unavailable | Server out of resources, maintenance mode stuck or hosting limit reached. | We bring the site back, remove the lock and check whether the server needs more resources. |
504 Gateway Timeout | A page or database query takes longer than the limit and the server gives up. | We find the slow query or routine and fix the source, instead of just raising the timeout. |
524 (Cloudflare) | Cloudflare waited for its response timeout (about 2 minutes by default) and the origin server never finished responding. | The same investigation as a 504, plus tuning the Cloudflare rules and cache. |
520 · 521 · 522 | Cloudflare cannot reach the server: firewall, server offline or certificate. | We check the firewall, certificate and server, and allow Cloudflare's IP ranges. |
| White screen · error 500 | A fatal PHP error after updating a plugin, theme or PHP version. | We read the error log, disable what broke and fix it with a backup. |
Support during business hours (8 a.m. to 5 p.m., Brasília time) with priority for emergencies. Outside those hours we assess each case and, if we can help, it is billed separately, with the price agreed beforehand.
Other problems we solve
How it works
-
Contact
You send the site address and the error you see. A screenshot helps a lot.
-
Access
We get access to the panel or server, and to Cloudflare if the domain uses it.
-
Diagnosis
We read the web server, PHP and database logs to find the exact point of failure.
-
Fix
We bring the site back and fix the cause, with a backup before any change.
-
Report
You get what happened, what we did and what we recommend.
You don't have to trust us on day one
Being wary is the right call when you hand over access to a server. So we work in a way you can check at every step.
Diagnosis before any charge
You get in writing what we found, what can be done and what it costs. Only then do you decide.
Backup before any change
Nothing is changed without a copy of the current state. If something turns out differently than expected, we roll back.
Your credentials stay yours
We use your passwords only for the job you hired us for. When it is done you can change them all, and we show you how.
Everything explained at the end
You get what was done, why it was done and what we recommend going forward, in plain language.
No lock-in
Cancel any time from the customer area. The service runs until the end of the paid period and you leave with a copy of your data.
Who does the work
Marcio Nunes has worked in IT since he was 16 and has run sites and servers for customers in several countries since 2010, including sites for public bodies and public figures we cannot name. He is the one accountable for your service.
Frequently asked questions
Can't find your question? Talk to the team.
Do you work on sites not hosted with NunesHost?
Yes. We work on any host or server where we can get panel or SSH access.
How long until the site is back?
It depends on the cause. In most cases the site is back in the same session; the permanent fix may take longer, and we tell you first.
Does raising the timeout fix a 504 error?
It only hides the problem. The right fix is finding the slow page or query and fixing the source, which is what we do.
How much does it cost?
Emergency support has a fixed hourly rate, listed in the catalog. Larger fixes get a written quote first.
More in Technical services
Talk to a specialist
We analyze your site or server and send a proposal with scope and timeline. Reply the same business day.