What Is a DDoS Attack?

Category: Security & SSL ยท Updated 2026-11-07

A DDoS, or distributed denial-of-service, attack floods a server or network with an overwhelming amount of traffic from many sources at once, aiming to exhaust its bandwidth, connections, or processing capacity so real visitors cannot get through. The "distributed" part means the traffic comes from many different machines, often a botnet of compromised devices, rather than one single source. Most hosting providers and CDNs offer some form of DDoS mitigation, since blocking it at the website level alone is usually not enough.

How a DDoS attack works

An attacker typically controls or rents access to a large number of compromised devices, called a botnet, and directs them to send traffic or connection requests to a target at the same time. Because the traffic comes from thousands of different IP addresses spread across the internet, simply blocking one source address does not stop the attack. The goal is to consume one of three things: available bandwidth, the server's connection-handling capacity, or the application's processing resources, until legitimate requests can no longer get through.

Common types of DDoS attacks

TypeWhat it targetsExample
VolumetricAvailable network bandwidthUDP flood, DNS amplification
ProtocolServer or network device connection limitsSYN flood, ping of death
Application-layerThe web application itselfHTTP flood against a login or search page

Volumetric and protocol attacks are usually measured in gigabits per second of traffic, while application-layer attacks are measured in requests per second, since a relatively small amount of traffic can still overwhelm a slow page like a search function or a database-heavy endpoint.

Signs a site is under a DDoS attack

  • Pages become extremely slow or time out for most visitors at the same time, with no code deployment or traffic campaign to explain it.
  • Server monitoring shows a sudden spike in incoming connections or bandwidth from a wide, unfamiliar spread of IP addresses.
  • Logs show a flood of requests hitting the same specific page, such as a login form or search bar, far beyond normal traffic patterns.
  • The hosting provider or CDN sends an automated alert about unusual traffic or applies rate limiting on its own.

Mitigation options

Most small to mid-sized sites rely on a CDN or a provider's built-in DDoS protection, which absorbs and filters traffic across a large distributed network before it ever reaches the origin server. A web application firewall adds further filtering for application-layer floods aimed at specific pages. Rate limiting, which caps how many requests a single IP can make in a given time window, helps against smaller floods but is usually not enough on its own against a large, distributed attack. Dedicated server and colocation customers often need to coordinate with their provider's network team directly, since a large volumetric attack has to be filtered upstream, before it reaches the server's own network connection.

Frequently asked questions

What does DDoS stand for?

DDoS stands for distributed denial-of-service, describing an attack that floods a target with traffic from many distributed sources at once to deny service to legitimate users.

Is a DDoS attack the same as hacking?

No. A DDoS attack does not break into a system or steal data; it overwhelms it with traffic so it cannot respond to legitimate requests. A site can be fully secure against intrusion and still go offline from a large enough DDoS attack.

Can shared hosting survive a DDoS attack?

A small DDoS attack might be absorbed by the provider's shared infrastructure or a CDN in front of it, but a large volumetric attack can affect other customers sharing the same network capacity, which is why shared hosting providers often suspend or move an attacked account quickly.

Does using a CDN stop DDoS attacks completely?

A CDN stops or absorbs most common DDoS traffic by spreading it across a large global network before it reaches the origin server, but an extremely large or sophisticated attack can still cause some disruption. It significantly reduces risk rather than eliminating it entirely.

How long does a typical DDoS attack last?

Durations vary widely, from a few minutes to several hours, and some attackers return in repeated short bursts over days. There is no fixed length, which is part of why ongoing mitigation rather than a one-time fix is the usual approach.

Can a firewall alone stop a DDoS attack?

A standard firewall can block some simple or small attacks, but a firewall sitting at one server cannot absorb a large flood of traffic from thousands of sources, since the network connection itself gets saturated before the firewall's rules even get a chance to filter anything.

Related topics