Website not working or down? Here's how to find out why and fix it
Updated · 4 min read · by the Codevo team
Short answer
A website usually stops working for one of a few reasons: the hosting or domain has expired, the SSL certificate has lapsed, the server is returning a 500 or 503 error, a recent update or deploy broke something, or the database is down. Check your renewal emails and hosting panel first, then the exact error message.
What you might be seeing
- ✗The site won't open at all and the browser says "This site can't be reached"
- ✗I see "500 Internal Server Error" or "503 Service Unavailable"
- ✗Chrome shows "Your connection is not private" before the page loads
- ✗The page says "Error establishing a database connection"
- ✗My domain now shows a parking page or an ad page from the registrar
- ✗It was working yesterday, and stopped right after an update or a sale went live
Common causes
Roughly in order of how often we see them.
- 01
Hosting plan expired or account suspended
If the hosting renewal failed, the host suspends the account and the site goes offline or shows an "Account Suspended" page. Hosts also suspend accounts for using too many resources or for malware.
- 02
Domain expired or DNS changed
When a domain lapses, the registrar points it to a parking page and your site disappears for everyone. A wrong nameserver or A record change after moving hosts has the same effect, and DNS changes can take a few hours to spread.
- 03
SSL certificate expired
Browsers block sites with an expired or mismatched certificate and show "Your connection is not private" (NET::ERR_CERT_DATE_INVALID). Free certificates like Let's Encrypt renew every 90 days, and auto-renewal can fail silently if DNS or a redirect is wrong.
- 04
Server errors (500, 502, 503)
A 500 error means the code crashed on the server, often a PHP error, a broken .htaccess rule or a wrong file permission. 502 and 503 usually mean the server process is down, overloaded, or under maintenance.
- 05
A failed update or deploy
A plugin, theme, CMS or framework update that half-installed, or new code pushed without testing, is one of the most common reasons a site breaks overnight. The timing is the giveaway: it worked before the change.
- 06
Database connection errors
"Error establishing a database connection" means the site can't reach its database. The cause is wrong credentials in the config file, a crashed MySQL server, or a database that has hit the host's size or connection limit.
- 07
Traffic spike or resource limits
A sale, an ad campaign or a bot attack can push a shared hosting plan past its CPU or memory limit. The host then throttles the site, returns 503 or 508 errors, or makes pages time out.
What you can check yourself
Safe steps you can try before calling anyone. Take a backup before changing anything.
- 1
Confirm it's down for everyone
Open the site on mobile data instead of your Wi-Fi, or check it on a site like downforeveryoneorjustme.com. If it only fails on your network, clear your browser cache or restart your router before anything else.
- 2
Check renewal emails for hosting and domain
Search your inbox for your registrar (GoDaddy, Hostinger, BigRock, Namecheap) and host. Log in and look at the expiry dates for the domain and the hosting plan. If either has lapsed, renew it, and the site usually returns within a few hours.
- 3
Read the exact error message
Note the exact text and number on the screen: 500, 502, 503, "database connection", "not private", "suspended". Take a screenshot. That one line tells a developer where to start and saves a lot of guessing.
- 4
Look at your hosting panel
Log in to cPanel, hPanel or your host's dashboard. Check for a suspension notice, a resource usage warning (CPU, memory, entry processes) or a maintenance notice. Many hosts also have a status page that lists outages.
- 5
Think about what changed last
Did you update a plugin, change a theme, edit a setting or have a developer push changes? If yes, and your host offers backups (for example JetBackup in cPanel), take a fresh backup of the current state first, then restore the most recent working one.
When to call a developer
- →Hosting and domain are paid up, but the site still shows a 500 or 503 error
- →You see "Error establishing a database connection" and the hosting panel shows nothing wrong
- →You restored a backup and it's still broken, or you don't have a backup
- →The site goes down again and again during busy periods
- →Your host says the account was suspended for malware or abuse
How we fix it
- [1]We confirm the outage from outside your network and check DNS, domain expiry and the SSL certificate so the simple causes are ruled out first.
- [2]We read the server error logs and the application logs (PHP error log, Node or framework logs) to find the exact line or request that's failing.
- [3]If a recent update or deploy caused it, we roll that change back to get the site live first, then fix the underlying problem in a copy of the site.
- [4]For database errors we check credentials, repair damaged tables and look at whether the host is hitting connection or storage limits.
- [5]For traffic-related outages we look at resource usage, block abusive bots, add caching, and tell you plainly if the hosting plan is too small.
- [6]Once it's stable, we set up uptime monitoring and renewal reminders so the next problem gets caught early.
Want the details on how we handle bug fixes and maintenance? See our bug fixing service.
Questions people ask
Q.01Why is my website not opening but other sites are?
If other sites load fine, the problem is with your site's hosting, domain, DNS or SSL, not your internet. Check whether the domain or hosting has expired and note the exact error message. If it only fails on your Wi-Fi, try mobile data, since a cached DNS entry can be the cause.
Q.02What does 500 Internal Server Error mean?
It means the server tried to run your site's code and something crashed. Common causes are a PHP error after an update, a broken .htaccess file or wrong file permissions. The server error log shows the real reason.
Q.03My domain expired. Will I lose my website?
Not straight away. Most registrars give a grace period where you can renew at the normal price, followed by a redemption period that costs more. Your files stay on the hosting as long as the hosting is paid, so renew the domain as soon as you notice.
Q.04How long does it take for a website to come back after renewing hosting?
Hosting renewals usually reactivate the account quickly once payment clears. If the domain had expired too, DNS can take a few hours to update across networks. If it's still down after a day, something else is wrong.
Q.05Why does my website go down when I get a lot of visitors?
Shared hosting plans have limits on CPU, memory and simultaneous processes. A traffic spike or bot crawl can hit those limits and the host starts refusing requests. Caching, a CDN and a plan sized for your traffic fix this.