Troubleshooting
When something is not working: checks and fixes.
127 guides · page 3 of 7
Fix 404 Not Found errors on cPanel hosting
Find why pages return 404 Not Found on a cPanel site: wrong document root, case-sensitive file names, missing rewrite rules, moved pages, and custom error pages.
Fix 500 Internal Server Error for PHP sites on a VPS
Track down a PHP 500 Internal Server Error on your own Nginx or Apache server: read the right logs, then fix fatal errors, permissions, .htaccess, FPM and SELinux causes.
Fix 502 Bad Gateway errors with Nginx and PHP-FPM
Diagnose 502 Bad Gateway on PHP sites: PHP-FPM down or crashing, wrong socket path or permissions, exhausted workers, oversized headers and upstream timeouts.
Fix 502 Bad Gateway in Nginx
A 502 Bad Gateway means Nginx could not get a valid answer from PHP-FPM or your app. Read the error log, then check the backend service, socket path, permissions and ports.
Fix 503 errors for Node.js apps in cPanel (Setup Node.js App)
Diagnose 503 Service Unavailable and startup failures for apps created in cPanel's Setup Node.js App: startup file, dependencies, ports, logs and CloudLinux resource limits.
Fix 504 Gateway Timeout errors on Nginx, PHP and app servers
Find why a request times out with 504 Gateway Timeout: slow PHP or database queries, mismatched proxy and FPM timeouts, CDN limits, and when to raise timeouts versus fix the code.
Fix 504 Gateway Timeout in Nginx
A 504 Gateway Timeout means PHP or your app took longer to answer than Nginx was willing to wait. Find the slow request, raise the right timeouts consistently, and fix the root cause.
Fix a 500 Internal Server Error in WordPress
Troubleshoot a WordPress 500 Internal Server Error on cPanel: check error logs, reset .htaccess, fix PHP settings and permissions, and isolate plugins or the theme.
Fix a 500 Internal Server Error on cPanel hosting
Find and fix the cause of a 500 Internal Server Error on any cPanel site: broken .htaccess rules, wrong permissions, PHP version or memory problems and script errors.
Fix a Docker container that exits immediately
Find out why a Docker container stops right after it starts. Read logs and exit codes, then fix missing environment variables, a wrong command, background processes and restart loops.
Fix Apache failed to start (AH00072 port in use and config errors)
When Apache will not start, run a config test, read journalctl, and fix the usual causes - AH00072 port already in use, syntax errors, missing certificates and the AH00558 ServerName warning.
Fix apt errors: dpkg lock, interrupted installs and broken packages
Solve common apt and dpkg errors on Ubuntu and Debian: could not get lock, dpkg was interrupted, unmet dependencies, held packages and repository signature errors.
Fix AutoSSL not issuing certificates in cPanel
Work out why cPanel AutoSSL fails for a domain: DNS not pointing here, DCV errors,.htaccess redirects, CAA records and rate limits, using the AutoSSL log in WHM.
Fix Caddy certificate errors and ACME failures
Diagnose why Caddy cannot get a TLS certificate. Check DNS, open ports 80 and 443, read Caddy's logs, handle Cloudflare proxying and rate limits, and test safely with the staging CA.
Fix common Composer errors on a server
Solve frequent Composer problems: memory exhausted, PHP version or extension requirements, dependency conflicts, lock file mismatches, authentication and running as root.
Fix common Laravel errors after deployment
Fix the Laravel errors that appear most after deploying: 500 with no message, 419 Page Expired, No application encryption key, storage permissions, cached config and missing vendor.
Fix common Magento 2 errors
Solve the Magento 2 errors you hit most often: missing CSS after deploy, indexers stuck, cron not running, OpenSearch connection failures, memory exhausted, permissions and maintenance mode.
Fix common Node.js errors: EADDRINUSE, 503, out of memory, module not found
Fix the Node.js errors hosting customers see most: port already in use (EADDRINUSE), 503 on cPanel, JavaScript heap out of memory and Cannot find module.
Fix common SSL errors in the browser
Understand and fix common browser SSL errors: name mismatch, expired or untrusted certificates, incomplete chains, protocol errors and HTTPS redirect loops.
Fix Docker daemon not starting
Docker service failed to start? Read the real error with journalctl, then fix an invalid daemon.json, conflicting options, storage driver and overlay errors, a full disk or iptables problems.
Other topics
- Getting startedYour first hour with a new server: access, logins and basics.83 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.67 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.53 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.49 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.67 guides
- DomainsRegistering, transferring and managing domains and nameservers.27 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.41 guides
- CloudLinuxCloudLinux setup and use: LVE limits, CloudLinux Manager, CageFS and PHP/Node.js selectors.31 guides
- LiteSpeedLiteSpeed Web Server, LSCache and the LiteSpeed Cache plugin: install, settings and tuning.35 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.24 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.24 guides
- WP SquaredcPanel's WordPress platform: sites, plugins, staging and backups.9 guides
- SitePadBuild and publish websites with the SitePad builder.9 guides
- SitejetDesign, edit and publish sites with the Sitejet builder.9 guides
- WHMResellerAlpha and master resellers with WHMReseller: install, setup and use.12 guides
- VirtFusionInstall, set up and manage VirtFusion: hypervisors, packages, servers and WHMCS integration.28 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.44 guides
- PleskWebsites, email, databases and settings in the Plesk panel.53 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.41 guides
- WHMCSBilling, automation, products and client management with WHMCS.52 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.107 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.138 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.72 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.83 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.80 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.127 guides
- Linux VPSSSH, packages, services and everyday Linux administration.265 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.73 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.82 guides
Still stuck?
Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.
