Skip to content

Cloudways Troubleshooting – 500 and 502 Errors, White Screen and More

Short answer: troubleshooting WordPress on Cloudways always starts with the same three steps: check what changed recently, read the application’s error log, and clear the cache. Most common errors, such as 500, 502, the white screen or the database connection error, come from a plugin or theme, from server resources running out, or from a misconfiguration, and each has its own telltale sign. On this page you’ll find a quick diagnosis table by error type and all my troubleshooting guides.

⏱ Initial diagnosis: 5–15 minutes · Difficulty: beginner to advanced · Last checked: 7 Nov 2026

What you’ll learn here

TopicWhat you’ll be able to doLevel
Diagnosis methodFollow a fixed checking order that finds the cause of most problemsBeginner
Server errorsFix 500, 502, 503 and 504 errors based on their causeIntermediate
WordPress problemsGet out of a white screen, a stuck maintenance mode and a database connection errorIntermediate
HTTPS and redirectsFix mixed content and redirect loops (Too Many Redirects)Intermediate
ResourcesDeal with a slow site, high CPU, a full disk and inodesIntermediate
Uploads and 404sFix a 413 error, a file type not permitted, an FTP credentials prompt and 404sBeginner

Which problem do you have? A quick diagnosis table

Every error tells you something about where the problem sits. The table lists the most common problems on Cloudways servers, the usual cause, and the first thing to check.

ProblemWhat it meansCommon causeFirst check
500 Internal Server ErrorThe server hit a condition it didn’t know how to handleA PHP error in a plugin or theme, a broken rule in .htaccessThe application’s PHP error log
502 Bad GatewayOne server got an invalid response from another server or serviceServer overload, a PHP request that timed out, a crashed service, a plugin conflictCPU and RAM monitoring, and service status under Manage Services
503 / 504The service is unavailable, or the request took too longA heavy process (an import, a plugin backup), load, the execution time limitWhat was running at that moment: cron, imports, bots
White screen (WSoD)A fatal PHP error that isn’t shown on screenA plugin or theme after an update, not enough PHP memoryTurn on WordPress debug mode and check the error log
Stuck maintenance modeA WordPress update was interrupted halfwayA .maintenance file left in the site folderDelete the file over SFTP or in the file manager
Error Establishing a Database ConnectionWordPress can’t connect to the databaseWrong credentials in wp-config.php, the database service is down, too many connectionsMySQL or MariaDB service status, and the credentials
Mixed ContentAn HTTPS page loading files over HTTPOld URLs in the database after switching to SSLReplace http URLs with https in the database
Too Many RedirectsA redirect loop between HTTP and HTTPS or between domainsA double redirect: on the server and also in Cloudflare or a pluginKeep a single redirect only
Slow site / high CPUThe server is working too hardA heavy plugin, bots, cron, a server that’s too smallApplication monitoring: who is using the resources
Full disk / inodesNo space left, or the file quota is used upLogs, local backups, cache and session filesDisk usage per application
413 / file type not permittedThe file is larger than allowed or blockedThe server upload limit, WordPress file type restrictionsUpload Size under Settings & Packages
404The URL wasn’t foundPermalinks, .htaccess rules or Web RulesRe-save the permalink settings

The method that saves hours

  1. What changed? A plugin update, a DNS change, a new PHP version. Most of the time the answer is right here.
  2. Take a backup before you touch anything, so the fix doesn’t add a new problem.
  3. Read the log. The application error log in the panel usually tells you which file and which line caused the error.
  4. Clear the cache at every layer, to make sure you aren’t looking at an old version of the page.
  5. Isolate the cause: disable plugins one at a time, preferably on a staging copy.
  6. Stuck? Run Cloudways Copilot, restore to a point in time before the problem, or open a support ticket with everything you found.

It helps to know who is responsible for what: Cloudways is responsible for the server and its services working. A problem caused by code, a plugin or a theme is on you, and support will help you diagnose it but won’t always fix the code itself.

In what order should you learn this?

Don’t wait for something to break before you learn the tools. If you know them in advance, you fix a problem in minutes instead of hours.

  1. Make sure you know how to back up and restore to a point in time. It’s the safety net for every fix.
  2. Learn how to clear the cache at every layer and how to access your site files.
  3. Get to know the error logs and debug mode. Detailed guide: How to view the error log and enable WordPress debug mode on Cloudways
  4. Turn on Cloudways Copilot for automatic diagnosis.
  5. Bookmark this page, and come back to the table and the specific guide when something breaks. Detailed guides: How to fix a 500 Internal Server Error on Cloudways, How to fix 502, 503 and 504 errors on Cloudways
Black Friday80% off
80% off 2 months of managed hosting

The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.

The offer ends on December 4, 2026 at 23:59 (UTC+2).

Ends in—days—hours—minutes—seconds
Code:
Grab the 80% now

Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.

After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator

All troubleshooting guides

More dedicated troubleshooting guides are being written and will be added here over time. In the meantime, these existing guides solve a large share of cases:

Server errors

WordPress problems

HTTPS, SSL and redirects

Resources and performance

Guides that help right now

Sources

Frequently asked questions

How do I find the error log on Cloudways?

In the management panel, open the application and go to the monitoring area, where you’ll find the access and error logs. You can also read the logs over SFTP or SSH, in the application’s logs folder. In WordPress you can additionally turn on debug mode to write errors to a file.

What is the difference between a 500 error and a 502 error?

A 500 error means the site itself failed, usually because of a PHP error in a plugin, a theme or a configuration file. A 502 error means one component on the server didn’t get a valid response from another, and usually points to overload, a request that timed out or a crashed service.

My site is stuck on the maintenance message after an update. What do I do?

Delete the .maintenance file from the site’s root folder, over SFTP or in the file manager. The file is left behind when an update is interrupted halfway. After deleting it, check that the update completed, and if it didn’t, run it again.

Does Cloudways support fix WordPress problems?

Support is responsible for the server and its services, and will also help you diagnose a problem on the site. Fixing the code of a plugin, a theme or custom development usually stays with you or your developer. A ticket with an exact description, a screenshot and the relevant line from the log speeds things up a lot.

When is it better to restore a backup than to fix the problem?

When the site is down, the problem started after a known change and you have a backup from before that change, restoring is the fast route. But on a store with orders, a full restore wipes out orders placed after the backup, so there it’s better to restore only the files or to fix things on a staging copy.

Official sources: How to Resolve 500 Internal Server Error, How to Fix 502 Bad Gateway Error, How to Fix WordPress White Screen of Death, How to Fix WordPress Stuck in Maintenance Mode (Cloudways Knowledge Base). Written and checked by Asael Dreyer · Updated: 6 Nov 2026

Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details

Thanks for your message!
We will get back to you soon.
Ready to get started?

Sign up with the coupon code ASAEL