
How DDoS attacks work, the signs to look for, who protects what between your hosting provider, your CDN and you, and what to do, step by step, if your site goes down.
By Mouhamed BANKOLE, CEO at ITNET Technologies · Updated December 1, 2026 · Reading time: 12 min
Your website has stopped responding, your server is maxed out, and yet nothing has changed in your code or in your usual traffic. You may be under a DDoS attack, and DDoS protection has to be in place before the incident, not during it. Attacks are now shorter and more frequent than ever, to the point where no manual response arrives in time. This guide explains how these attacks work, how to recognise them, who protects what between your hosting provider, your CDN and you, and what to do, step by step, if your site goes down.
In short
- A DDoS attack tries to make a website or server unreachable by flooding it with requests sent from many machines at once; it can also be used as a diversion for another attack (Cybermalveillance.gouv.fr).
- Short, small bursts dominate: in Q3 2026, 96% of the network-layer attacks mitigated by Cloudflare lasted under 10 minutes and 98% stayed below 1 Gbps, which is enough to take a server down (Cloudflare).
- Anti-DDoS protection works on three levels: the hosting provider's network, a CDN or web application firewall in front of the site, and the server configuration.
- On a VPS or dedicated server, hardening is your job: firewall, closed ports, and a cap on the number of requests per IP address.
- During an attack, pay no ransom, get the traffic filtered, keep the logs and report it to the police (Cybermalveillance.gouv.fr).
Contents
- What is a DDoS attack?
- What are the different types of DDoS attacks?
- How common are DDoS attacks in 2026?
- How can you tell if your site is under a DDoS attack?
- Who is responsible for your site's DDoS protection?
- How do you protect a website against DDoS attacks?
- How do you protect a VPS or dedicated server against DDoS?
- What should you do during a DDoS attack?
- What penalties does a DDoS attacker face?
What is a DDoS attack?
A DDoS (distributed denial of service) attack aims to make a website or server unreachable by flooding it with requests or packets sent from a large number of machines at once. Cybermalveillance.gouv.fr, the French government's cyber assistance service, describes it as sending a flood of requests until the server is saturated, or exploiting a flaw to cause an outage or a severely degraded service (Cybermalveillance.gouv.fr).
What defines a DDoS attack:
- it is distributed: the traffic comes from a network of compromised devices, called a botnet, which can include computers, cameras and other connected objects (OVHcloud);
- it targets availability, not your data: the site stays down for as long as the saturation lasts;
- it can hide something else: according to Cybermalveillance.gouv.fr, the attack can serve as a diversion while an intruder tries to steal sensitive data (Cybermalveillance.gouv.fr);
- motives vary: extortion, competition, ideology, revenge or simply the challenge (Cybermalveillance.gouv.fr).
For an online store or a booking site, every minute of downtime means lost sales, customers moving to a competitor and a damaged reputation.
What are the different types of DDoS attacks?
There are three main families of DDoS attacks: volumetric, protocol and application-layer (layer 7). OVHcloud describes them this way: the first saturate bandwidth, the second exploit weaknesses in network protocols, and the third target the most resource-hungry functions of the application (OVHcloud).
| Attack type | What gets saturated | Examples | Main countermeasure |
|---|---|---|---|
| Volumetric | The bandwidth of the Internet link | UDP floods, DNS amplification | Upstream filtering on the hosting provider's or carrier's network |
| Protocol | Network equipment and the server's TCP stack | SYN floods, ICMP reflection | Network firewall, infrastructure filtering |
| Application (layer 7) | The web server, PHP, the database | Bursts of requests on search, login or checkout | CDN, web application firewall (WAF), rate limiting |
Two mechanisms come up often:
- reflection and amplification: the attacker sends small requests to open servers (DNS, for example) with the victim's IP address forged as the source, and those servers send large replies to the victim (Cloudflare);
- application exhaustion: a few hundred well-chosen requests on a heavy page can be enough to overload a database without much network traffic, and these attacks often slip past standard network defences (OVHcloud).
How common are DDoS attacks in 2026?
Very common, and rising: Cloudflare mitigated 18.2 million network-layer DDoS attacks in Q3 2026, up 208% on the same quarter of 2025 (Cloudflare). The report, published on October 29, 2026, above all describes a change in shape: more short, modest attacks and fewer giant ones.
Key figures from the report:
- a very high pace: about 8,226 network-layer attacks per hour, or one every 0.44 seconds (Cloudflare);
- lightning attacks: 96% ended in under 10 minutes (Cloudflare);
- modest but sufficient bandwidth: 98% stayed below 1 Gbps, which is still more than enough to overwhelm a server or website (Cloudflare);
- fewer giant attacks: attacks above 1 Tbps fell from 805 in Q2 to 251 in Q3, after four major IoT botnets were dismantled in early 2026 (Cloudflare);
- the return of UDP: DNS amplification jumped 215% and other UDP floods rose from 14.06% to 31.31% of network-layer attacks (Cloudflare).
What this means for you: a typical attack is too short for an administrator to notice it in time. Cloudflare points out that most attacks end before a human analyst could even see the alert (Cloudflare). Protection therefore has to be automatic and already in place.
How can you tell if your site is under a DDoS attack?
A very slow or unreachable site, with no marketing campaign or sales spike to explain it, and abnormal traffic concentrated on a few pages or coming from unusual origins, is the most common sign of a DDoS attack.
Symptoms to watch for:
- errors in a row: pages that no longer load, "502", "503" or "504" errors returned by the web server;
- concentrated traffic on a single URL (search page, login form, cart);
- odd visitors: the same IP ranges, the same declared browser, countries unrelated to your customers;
- an unreachable server over SSH, or a ping that drops, a sign that the network link itself is saturated;
- an extortion message threatening an attack unless you pay, a scenario described by Cybermalveillance.gouv.fr in a victim's account (Cybermalveillance.gouv.fr).
On a Linux server running nginx, two commands give you a first idea: the first lists the most active IP addresses in the access log, the second summarises current network connections.
awk '{print $1}' /var/log/nginx/access.log | sort | uniq -c | sort -rn | head -20
ss -s
Pro tip: a legitimate spike (sales, media coverage, a viral post) looks like an attack. Before blocking anything, compare with your current campaigns and check whether visitors browse normally (several pages, cart, conversions) or keep hammering the same URL.
Who is responsible for your site's DDoS protection?
DDoS protection is shared: the hosting provider filters network attacks on its infrastructure, a CDN or web application firewall absorbs web attacks, and the server administrator hardens the configuration. Cybermalveillance.gouv.fr recommends asking your hosting provider to plan a response to this type of attack at infrastructure level (Cybermalveillance.gouv.fr).
| Protection level | Who handles it | What it stops | Its limit |
|---|---|---|---|
| Hosting provider's network | The hosting provider or carrier | Volumetric and protocol attacks | Struggles to tell an application burst from real traffic |
| CDN and web application firewall (WAF) | The hosting provider or a third-party service | Web (layer 7) attacks, abusive bots | Bypassed if the server's real IP address is known |
| Server (firewall, rate limiting) | You on a VPS or dedicated server, the host on shared hosting | Abuse from a single IP, unused ports | Powerless once the network link is saturated |
The split depends on your plan:
- on shared hosting, the provider handles all three levels; for Wayhost web hosting, the product page lists infrastructure-level DDoS mitigation included by default on every plan, a web application firewall and a free CDN (checked on December 1, 2026);
- on a VPS, you administer the server: the Wayhost VPS page states that you configure your own firewall and security groups that control inbound and outbound traffic (checked on December 1, 2026);
- on a dedicated server, the Wayhost physical server page mentions included DDoS protection and configurable firewalls (checked on December 1, 2026).
Before signing up, ask any hosting provider three questions: is protection included or an add-on, is it always on or triggered on detection, and what happens to your IP address if an attack exceeds its capacity?
How do you protect a website against DDoS attacks?
To protect a website, combine hosting with anti-DDoS filtering, a CDN that serves cached pages, a web application firewall and targeted protection for expensive pages. None of these is enough on its own; together, they sharply reduce how much malicious traffic reaches your server.
The measures, from the most effective to the most granular:
- choose hosting that filters upstream: volumetric traffic must be stopped before it reaches your network link; our web hosting guide covers the other selection criteria;
- put a CDN in front of the site: pages and files served from cache no longer hit your server, and the origin address is hidden; see our article on what a CDN is;
- enable a web application firewall (WAF): it blocks typical bot requests and bursts on forms;
- protect heavy pages: internal search, login, cart and forms deserve rate limiting or a bot challenge;
- do not expose the real IP address: a subdomain pointing straight at the server, or emails sent from it, can reveal it and let attackers bypass the CDN;
- keep the site up to date: Cybermalveillance.gouv.fr puts regular security updates at the top of its prevention measures (Cybermalveillance.gouv.fr); an unmaintained WordPress site is also exposed to hacking, as our guide to a hacked WordPress site explains.
Pro tip: prepare a static fallback page (a simple HTML page served by the CDN) that you can switch on within minutes. Your customers will know you are aware of the problem, even if the full site stays down.
How do you protect a VPS or dedicated server against DDoS?
On a VPS or dedicated server, protect yourself with upstream filtering at your hosting provider, by closing everything that is not essential and by limiting how many requests a single IP address can send. A server alone can do nothing against a saturated network link: 98% of the network-layer attacks seen by Cloudflare in Q3 2026 stayed below 1 Gbps, which is still enough to take a server down (Cloudflare).
Baseline hardening:
- a properly configured firewall: Cybermalveillance.gouv.fr recommends closing every unused port and restricting access to administration functions to the machines that genuinely need it (Cybermalveillance.gouv.fr);
- rate limiting on the web server: the nginx
limit_reqmodule limits the request processing rate per key, in particular per IP address, using the "leaky bucket" method (nginx); - automatic banning of addresses that pile up errors, with a tool such as fail2ban;
- monitoring with alerts on CPU, memory, connections and bandwidth, to spot an attack in its first minutes;
- a properly sized server: a store already running close to its limits falls over at the first burst; our article on a VPS for an online store helps you size resources.
Example of rate limiting on nginx, to adapt to your traffic (the zone is declared in the http block and tracks each IP address):
limit_req_zone $binary_remote_addr zone=perip:10m rate=5r/s;
server {
# Sensitive pages: search and login
location ~ ^/(search|login) {
limit_req zone=perip burst=10 nodelay;
limit_req_status 429;
}
}
The nginx documentation explains that excess requests are delayed, then rejected with an error once the allowed burst is exceeded (nginx). Test first in simulation mode with the limit_req_dry_run directive, which counts excess requests without blocking anyone (nginx).
Pro tip: if your business cannot tolerate any downtime, choose a dedicated server with included DDoS protection or put your VPS behind a CDN, rather than relying on server configuration alone.
What should you do during a DDoS attack?
During a DDoS attack, confirm the attack, alert your hosting provider immediately to get the traffic filtered, keep every trace and never pay a ransom. Cybermalveillance.gouv.fr details these steps in its dedicated guide, updated on November 12, 2026 (Cybermalveillance.gouv.fr).
The action plan, step by step:
- Confirm the attack: web server logs, monitoring, CDN dashboard, to rule out a legitimate traffic spike or an outage.
- Alert your hosting provider with the useful details: targeted IP addresses, start time, type of traffic observed (targeted pages, protocols).
- Filter, or get your provider to filter, the attacker's requests at your firewall or at the hosting provider (Cybermalveillance.gouv.fr).
- Switch to degraded mode: the CDN's "under attack" mode, a static fallback page, temporary closure of the heaviest pages.
- Do not pay the ransom: it feeds the criminal system with no guarantee the attack will stop (Cybermalveillance.gouv.fr).
- Keep the evidence: logs from the firewall, the proxy and the affected servers, which are useful for the investigation and any legal action (Cybermalveillance.gouv.fr).
- Check it was not a diversion: login logs, an antivirus scan, password changes at the slightest doubt (Cybermalveillance.gouv.fr).
- Report it to the police and, if personal data was made unavailable, altered or deleted, assess whether you must notify your data protection authority, the CNIL in France (Cybermalveillance.gouv.fr).
Once the attack is over, review it: what gave way first, how long did it take you to react, and which protection was missing? For organisations with a security team, the French cybersecurity agency ANSSI published a sheet on distributed denial of service in its "Les Essentiels" collection on April 26, 2024 (ANSSI).
What penalties does a DDoS attacker face?
In France, a DDoS attack mainly falls under the offence of obstructing the operation of an automated data processing system, punishable by five years in prison and a 150,000 euro fine under Article 323-2 of the Criminal Code (Cybermalveillance.gouv.fr).
What victims should know:
- an attempt is punished like the offence itself, under Article 323-7 of the Criminal Code (Cybermalveillance.gouv.fr);
- a complaint can be filed at a police or gendarmerie station, or in writing with the public prosecutor, together with all the evidence you kept (Cybermalveillance.gouv.fr);
- logs are your best evidence: without them, investigators have almost nothing to work with.
Outside France, similar offences exist in most countries: check with your local cybercrime reporting service.
Frequently asked questions
Can a DDoS attack steal my data?
No, a DDoS attack aims to make a service unavailable, not to read your data. It can, however, act as a diversion while an intruder attempts a break-in. After an attack, check your login logs and change passwords at the slightest doubt.
How long does a DDoS attack last?
Most are very short: in Q3 2026, 96% of the network-layer attacks mitigated by Cloudflare lasted under 10 minutes (Cloudflare). Some campaigns still last hours or even days. That is why protection must kick in automatically.
Can a small website be targeted by a DDoS attack?
Yes, a small site is actually more vulnerable, because it has few resources to absorb a surge of traffic. DDoS-for-hire services make these attacks available to anyone. A malicious competitor or an unhappy former customer is enough to trigger one.
Is a CDN enough to protect a site against DDoS?
A CDN absorbs a large share of web attacks and serves cached pages, but it is not always enough. If the server's real IP address is known, the attacker can bypass the CDN and hit the origin directly. Combine it with filtering at your hosting provider and a firewall that only accepts traffic from the CDN.
What is the difference between a DoS and a DDoS attack?
A DoS attack comes from a single source, a DDoS attack from a very large number of machines at once. The distributed version is much harder to block, because you cannot simply ban one IP address. It can also reach far higher traffic volumes.
Should you pay a ransom to stop a DDoS attack?
No, never pay: nothing guarantees the attack will stop or will not start again. Paying funds the attackers and marks you as a profitable target. Get the traffic filtered by your hosting provider and report the attack to the police instead.
Can my hosting provider take my site offline during an attack?
Yes, some providers temporarily isolate the targeted IP address to protect their other customers when an attack exceeds their filtering capacity. Your site then becomes unreachable, even if the attack only partly targeted you. Check this point in the contract before choosing a plan.
Can you test how well your site withstands a DDoS attack?
Yes, but only on your own infrastructure, with written agreement from your hosting provider and your CDN. An unannounced load test can be mistaken for a real attack and trigger a block. Never test a service you do not own: that is an offence.
Key takeaways
- A DDoS attack targets your site's availability, but can hide an intrusion.
- Attacks are short and frequent: protection must be automatic and already in place.
- Protection is shared between the hosting provider, the CDN or web application firewall, and your server.
- On a VPS, hardening is your job: firewall, closed ports, rate limiting, monitoring.
- During an attack, alert your provider, keep the logs, pay nothing and report it to the police.
For a site protected at infrastructure level, with nothing to configure yourself, discover Wayhost web hosting.
Article written by Mouhamed BANKOLE, CEO at ITNET Technologies.


