Skip to content
HOSTIGAN
Web hosting

Website not working? How to find and fix common hosting problems

A methodical checklist for when your site is down: rule out your own connection, then check DNS, domain status, SSL, the HTTP status code, PHP, the database and caching.

Beginner 6 min read Updated November 24, 2026

Your website is down, or something is clearly wrong, and you don't know where to start. The trick is not to guess but to work from the outside in: first make sure the problem is really the site and not your own connection, then follow the request from the domain name all the way down to the code. This guide gives you that order, the commands to check each step, and the fixes for the problems you are most likely to find.

Step 1: Narrow it down

Before changing anything, collect four facts. They often point straight at the cause.

  • Is it only you? Open the site on your phone using mobile data, not Wi-Fi. If it works there, the problem is local: browser cache, stale DNS on your network, or a block on your office IP.
  • Is it the whole site or one page? A single broken page points to that page's content or a plugin. Everything down points to DNS, the domain, SSL or the server configuration.
  • What changed recently? An update, a new plugin, a PHP version switch, a DNS change or a move to a new host are behind most outages.
  • What exactly does it say? Write down the error message and code. "This site can't be reached" is a very different problem from "500 Internal Server Error".

Step 2: Check DNS

If the browser cannot find the server at all, DNS is the first suspect. Ask DNS directly where the domain points:

dig +short example.com A
dig +short www.example.com A
dig +short example.com A @1.1.1.1   # a public resolver rules out your local cache

On Windows, use nslookup:

nslookup example.com 1.1.1.1

Compare the answer with the IP address of your hosting account, which cPanel shows in the General Information panel. No answer means the DNS records or nameservers are wrong; an old IP usually means a recent move hasn't propagated yet. The guide How to point your domain to your hosting shows how to set the records correctly.

Step 3: Check that the domain hasn't expired

An expired domain stops resolving — and takes your email down with it. Look up the expiry date with your registrar or with a WHOIS lookup:

whois example.com | grep -i -E "expir|renewal"

Renewal reminders often end up in spam or go to an old address. Renew quickly: most registries keep a grace period, but if you wait too long the domain can be released and registered by someone else.

Step 4: Check the SSL certificate

Browser warnings such as "Your connection is not private" usually have one of three causes:

  • The certificate has expired — often because DNS pointed elsewhere when automatic renewal ran.
  • The name doesn't match — the certificate covers example.com but not www.example.com, or the other way round.
  • The visitor's clock is wrong — rare, but it makes every certificate look invalid.

In cPanel, open Security › SSL/TLS Status to see each domain's certificate and click Run AutoSSL to request missing ones. The full walkthrough is in How to install an SSL certificate and enable HTTPS.

Step 5: Read the HTTP status code

If the server answers, its status code tells you which family of problems you are dealing with. Get it without the browser cache:

curl -sI https://example.com/ | head -n 1
CodeMeaningCommon causes
403 ForbiddenAccess refusedWrong permissions, missing index.php/index.html, a deny rule in .htaccess, a security block
404 Not FoundNothing at that addressFile in the wrong folder, broken permalinks, a deleted page
500 Internal Server ErrorThe server failedPHP fatal error, .htaccess syntax error, incompatible plugin
503 Service UnavailableTemporarily unavailableResource limits, maintenance mode stuck on, overload
508 Resource Limit ReachedAccount limits hitToo many simultaneous PHP processes, bots, uncached traffic

Tip: A WordPress site stuck in maintenance mode after an interrupted update has a file called .maintenance in its root folder. Delete it and the site comes back.

Step 6: Look at PHP errors

Blank white pages and 500 errors are almost always PHP errors that are logged instead of shown. Open the file error_log in the folder of the failing script — usually public_html — with File Manager and read the last lines. Typical culprits are a plugin that doesn't work with the current PHP version or a script that runs out of memory. If the error started right after switching PHP version in MultiPHP Manager, switching back confirms it.

If you can't get into the WordPress dashboard, rename wp-content/plugins to plugins-off to deactivate all plugins, then rename it back and reactivate them one by one. The guide How to fix a 500 Internal Server Error goes through this in detail.

Step 7: Fix database connection errors

"Error establishing a database connection" means PHP can reach the server but not the database. Check, in this order:

  1. The database name, user, password and host in the config file (wp-config.php for WordPress). On cPanel, names carry the account prefix, such as cpuser_wp, and the host is normally localhost.
  2. That the user is actually added to the database with All Privileges, under Databases › MySQL Databases.
  3. That the database exists and contains tables — open it in phpMyAdmin. After a migration, an empty database is common.
  4. That nobody has changed the database user's password without updating the config file.
// wp-config.php — these four must match cPanel exactly
define('DB_NAME', 'cpuser_wp');
define('DB_USER', 'cpuser_wpuser');
define('DB_PASSWORD', 'YOUR_DB_PASSWORD');
define('DB_HOST', 'localhost');

Step 8: Check .htaccess and redirect loops

One bad line in .htaccess gives you a 500 on every page. "Too many redirects" (ERR_TOO_MANY_REDIRECTS) usually means two things are fighting over HTTPS or www — for example a rule in .htaccess, a plugin and the WordPress address settings all redirecting at once.

Test by renaming .htaccess to .htaccess-off. If the site recovers, rebuild a clean file — in WordPress, by saving Settings › Permalinks — and keep only one place that handles redirects.

Step 9: Resource limits and IP blocks

Many cPanel hosts limit each account's CPU, memory and processes. When the limits are hit, pages slow down or return 503/508. Metrics › Resource Usage (where available) shows when it happened; heavy plugins, frequent cron jobs, aggressive bots and missing page cache are the usual causes.

If the site works on mobile data but not from your office, and email or FTP logins fail too, your IP may have been blocked by the server firewall after repeated failed logins — often from a device with an old saved password. Fix the password on every device, find your public IP, and ask your host to unblock it.

Step 10: Clear the caches

Sometimes the site is fixed but you are still looking at an old copy:

  • Browser: try a private window or a hard refresh (Ctrl+F5 / Cmd+Shift+R).
  • Site cache: clear your caching plugin after changes.
  • CDN: if you use one, purge its cache.
  • Local DNS: restart the router or flush the DNS cache on your computer.

The quick checklist

  • Test on mobile data
  • dig the domain and compare with the server IP
  • Check the domain's expiry date
  • Check SSL/TLS Status in cPanel
  • Get the status code with curl -sI
  • Read error_log
  • Undo the most recent change
  • Check Resource Usage
  • Restore from backup — last resort only (How to back up in cPanel)

When to contact support

Contact your host when you've been through the checklist without finding the cause, when several sites on the account fail at once, or when you suspect an IP block. Include the domain and URL, the exact error and time, your public IP, what changed, what you've tried, and the relevant error_log lines.

In short

Work from the outside in: your connection, DNS, the domain, SSL, the status code, then the application. The status code tells you where to look, the error log usually tells you why, and a test on mobile data quickly separates local problems from real outages.

Hosting with Hostigan

On Hostigan's web hosting every tool in this guide is in cPanel. If you are stuck, contact us — support@hostigan.com is staffed 24/7 for emergencies.

Frequently asked questions

Usually it is your browser cache, an old DNS answer cached on your computer or router, or your IP address being blocked by the server's firewall after failed logins. Test from mobile data to tell which.