DrieVerse Tech loading

What Causes a Website to Crash? (And How to Keep It Up at Peak Traffic)

By DrieVerse Tech, Engineering Team

Published 1 December 2026

Dark cover reading "What takes a site down." beside a string of glowing lamps with one dark, ringed lamp, for a guide on what causes a website to crash.

In short

A website crashes for a short list of reasons: more visitors than the server can answer, a bad change, an expired certificate or domain, a plugin or dependency update, a database or disk that has hit its limit, or a problem at the host. The way it fails shows which one. Check what changed, read the error, then undo the last change. Monitoring and a rollback make the next crash short.

Key takeaways

  • A website crashes for a short list of reasons: a traffic spike, a bad deploy, an expired certificate or domain, a plugin or dependency update, a database or disk at its limit, or the host. Each leaves a different pattern.
  • Traffic gets the blame, but a change made that morning often deserves it. When the site fails soon after a deploy or an update, undo that first and investigate second.
  • A crash that repeats on a schedule is a clue. Look for the job, the fill-up or the limit that lines up with the time it happens.
  • When the site is down, check it from another network, read the exact error, ask what changed, look at the host, then roll back the last change.
  • A crash becomes boring with four things: an outside uptime check that alerts a person, a rollback that works, spare capacity for known busy days, and a status page that says what is happening.
Table of contents

What causes a website to crash? Usually one of six things: more visitors than the server can answer, a bad change, an expired certificate or domain, a plugin or dependency update, a database or disk that has hit its limit, or a problem at the host. Cyber Monday has just passed, which is when some owners find out which of the six their site is weakest against. How the site fails usually shows which one, and a small setup turns the rest from an emergency into a short, boring interruption.

What causes a website to crash? Start with how it fails

Websites crash because something the page depends on stops answering: the server, the database, a certificate, a domain record, or a third-party service. The pattern of the failure tells you which dependency it was, often before you open a single log.

How it fails What it usually points at
Slows down, then errors, as visitors arrive Traffic beyond what the server or database can handle
Fails within minutes or hours of a change A bad deploy, a plugin update or a configuration change
Browser shows a full-page security warning An expired or misconfigured certificate
The address stops resolving, or shows a registrar page An expired domain or a broken DNS record
Fails at the same time every day or week A scheduled job, a backup or a log or disk that fills up
Fails for everyone and nothing changed The host, or a service the site depends on

In our experience traffic gets the blame for many crashes because it is the cause people can see. A change made that morning is easier to forget and often deserves more of it. Keep both in mind as you read the list.

Website crash due to high traffic

A traffic spike crashes a website when requests arrive faster than the server, the database or a third-party service can answer them. Requests queue, pages time out, and visitors start to see errors such as 502, 503 or 504, which all mean the server, or something behind it, failed to answer properly or in time.

Spikes come from the expected (a sale, an email to the whole list, a campaign going live) and the unexpected (a mention somewhere popular, or automated traffic). What decides whether a site survives is how much work each visit makes the server do. A page that is built from scratch for every visitor, with several database queries each time, falls over far sooner than the same page served from a cache.

What helps, roughly in the order to do it:

  • Cache what does not change per visitor. Pages, images and scripts served from a cache or a content delivery network never reach your server.
  • Leave headroom. A site running near its limit on a quiet day has nothing left for a busy one.
  • Test before a known peak. A load test against a staging copy shows where the first limit is while nobody is shopping. Guessing from the plan name is not a test.
  • Find the slowest dependency. One slow payment or search service can hold every request open and take the whole site down with it.

A bad deploy: the crash that follows a change

A bad deploy crashes a website when a change that passed review behaves differently in production: a missing setting, a database change that locks a table, a build that works on test data and fails on real data. The signature is timing. It started soon after a release, and it was fine before.

This is the cause owners are least likely to suspect, because the change was meant to be harmless. A copy edit, a new field, a "small" update to a library. Two habits make it manageable:

  • Know what changed and when. If you cannot say what went live in the last 24 hours, you cannot rule it out. Keep a short, dated list of changes.
  • Be able to undo it. A rollback that has been tried once is a decision that takes minutes. One that has never been tried is a project that takes hours, at the worst moment.

Release small changes, at a quiet time of day, and stop making changes before a known busy period. The quietest hour is the safest time to find out that something is wrong.

Expired certificates and domains take a website down

An expired certificate or domain takes a site down without any fault in the code. When a certificate expires, browsers show a full-page security warning that many visitors will not click past, so the site is effectively down. When a domain expires, the address stops resolving or shows the registrar's own page.

Both are renewals, and renewals fail for ordinary reasons: the card on file has expired, the reminder goes to someone who left, or the domain sits in a personal account. Automatic renewal, a shared inbox for the notices and an expiry check in your monitoring turn a surprise into a calendar item. The renewal checks sit in our monthly website maintenance checklist.

Plugins and dependencies that crash a website

A plugin or dependency crashes a site when an update, a conflict or an abandoned component stops working with the rest of the system. The causes are a new version that changes behaviour, two components that both change the same thing, and a component nobody maintains that breaks when something around it moves on.

The risk grows with the number of components, so the first fix is to have fewer. Remove plugins you no longer use. Be wary of components that have not been updated for a long time. Then change how updates reach production:

  • Apply updates to a copy of the site first, and look at the pages that matter.
  • Update one thing at a time, so a failure has one suspect.
  • Know which updates happen automatically, and whether you are told when they do.
  • Keep the version you can return to.

External scripts count as dependencies too. A chat widget, a tracker or a font host that is slow or down can hold up a page that is otherwise healthy.

Why does my website keep crashing?

If your website keeps crashing, look for what repeats. A site that goes down at the same time each day or week is usually running into a scheduled job, a resource that fills up, or a limit it reaches under a regular load. Bad luck rarely arrives on a timetable.

Write down each time it fails, and ask what else happens then:

  • Same time every day: a backup, an import, a report or a batch job competing with visitors for the server.
  • Slower and slower until a restart fixes it: memory that is not released, which a restart hides for a while.
  • Fine, then fails, then fine again: the host or the database running out of connections at the busiest minutes.
  • Fails when the disk is full: logs, uploads and old backups are the usual suspects, and a full disk breaks things in odd ways.

A restart that "fixes it" has not fixed it. It has reset the clock on the real problem.

Database limits, full disks and the host

A website also crashes when the database or the server underneath it hits a limit. Databases allow a fixed number of connections, servers have fixed memory and disk, and a busy or badly built page can use them all. At the limit, requests are refused, and the site shows errors that look like a code fault.

The host matters too. Shared hosting plans cap how much processor time, memory and how many simultaneous processes a site gets, and a neighbour on the same server can use more than their share. Hosts also have their own incidents. A site that depends on one server, one provider or one DNS service has a single point of failure, and the day it fails is not chosen by you.

Ask your host, or whoever runs your hosting, plain questions: what are our limits, how close do we get on a busy day, who is told when we reach them, and what happens if this server fails? If nobody can answer, that is the finding.

What to check first when your website is down

When your website is down, work through a short sequence before you change anything. Each step rules a cause in or out, and the order puts the cheapest checks first.

  1. Check it from another network. Open it on a phone using mobile data. If it works there, the problem may be your connection or your office.
  2. Read the error. A browser security warning points at the certificate. An address that does not resolve points at the domain or DNS. A 5xx error points at the server or something it depends on. A blank page points at the application.
  3. Ask what changed. A deploy, a plugin update, a setting, a renewal, a new campaign. Start with the most recent.
  4. Look at the host. Check the provider's status page and the resource graphs: processor, memory, disk, database connections.
  5. Undo the last change. If something changed shortly before the failure, roll it back first and investigate afterwards.
  6. Tell people. Put a plain message where customers will see it, and say when you will update it.

If this sequence lives only in one person's head, write it down. Our guide to what an incident runbook should contain shows what to include.

How to prevent website crashes from traffic and everything else

You cannot prevent every crash, but you can make each one short and boring. Four things do most of the work:

  • Monitoring from outside. A check that loads your real pages from another network every minute or so, and sends an alert to a person who will act on it. Monitoring that only emails an inbox nobody reads is decoration.
  • A rollback. The last known good version, a written way to return to it, and one rehearsal.
  • Headroom. Know your limits and your busiest day, and keep the gap between them comfortable before a campaign, not after it.
  • A status page. Somewhere simple and separate from the site, where customers can see that you know and when to expect an update.

Backups belong on the list too. They are what you fall back on when the fix is not a rollback, and they only count once a restore has been tried: see backups and restore readiness.

Where to start: review your hosting setup

Start with the cheapest question: if your site went down at lunchtime tomorrow, who would be told, how fast, and what would they do first? If the honest answer is "a customer would tell us", the setup needs work before the next busy day. Our managed hosting service covers the hosting, uptime, monitoring, backups and renewals side of this, and our DevOps and infrastructure service covers the release process behind it. If you want a second pair of eyes, ask us to review your hosting setup.

Frequently asked questions

A website crashes when something it depends on stops answering. The usual causes are a traffic spike beyond what the server can handle, a bad deploy or update, an expired certificate or domain, a plugin or dependency conflict, a database or disk at its limit, and a problem at the hosting provider.

Websites crash because one link in the chain between a visitor and the page breaks: the server, the database, the certificate, the domain or a third-party service. How it fails shows which link. Right after a release points at the change, at the same time every day points at a job or a full disk.

Yes. A website crashes from high traffic when requests arrive faster than the server, database or a connected service can answer, so pages time out and visitors see errors such as 502, 503 or 504. Caching, spare capacity and a load test before a known busy day reduce the risk far more than reacting during the spike.

Serve pages that do not change from a cache or content delivery network, keep spare capacity above your busiest day, and run a load test on a staging copy before a campaign or sale. Add monitoring that alerts a person, and keep a tested rollback, so a spike that does cause trouble stays short.

A site that crashes repeatedly usually has a pattern: a scheduled job at the same time each day, a disk or memory that fills up until a restart, or a connection limit reached at the busiest minutes. Record when it fails and what else runs then. A restart that fixes it only resets the real problem.

Check the site from another network, then read the exact error. Ask what changed most recently, look at the host's status page and resource usage, and undo the last change if one is close to the failure. Put a plain message in front of customers while you work, and say when you will update it.

More in Infrastructure and Operations
risk-managementobservabilityprocess-design

Have a Managed hosting project like this in mind?

Tell us what you are trying to build. We will tell you plainly what Managed hosting work like this would take.

Get a quote

Contact Us

Lahore, Pakistan · London, U.K · Austin TX, U.S · Toronto, Canada