Under a DDoS attack?
Last updated Apr 20, 2026 A distributed denial-of-service (DDoS) attack is where a large number of computers or devices, usually controlled by a single attacker, attempt to access a website or online service all at once. This flood of traffic can overwhelm the website's origin servers, causing the site to slow down or even crash.
sequenceDiagram;
participant User;
participant Website;
participant Server;
participant Botnet;
User->>Website: Requests to access site
Website->>Origin Server: Processes user requests
Botnet->>Origin Server: Sends a flood of traffic
Origin Server-->>Website: Slows down due to traffic overload
Origin Server-->>User: Unable to respond to user requests
Common signs of an attack
Common signs that you are under DDoS attack include:
- Your site is offline or slow to respond to requests.
- Unexpected spikes appear in the graph of Requests Through Cloudflare or Bandwidth in your Cloudflare Analytics app.
- Strange requests appear in your origin web server logs that do not match normal visitor behavior.
Note
If you are currently under DDoS attack, refer to Proactive DDoS defense best practices.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/fundamentals/security/under-ddos-attack/#page","headline":"Under a DDoS attack?","description":"Learn a few ways to tell if your application is under a DDoS attack.","url":"https://developers.cloudflare.com/fundamentals/security/under-ddos-attack/","inLanguage":"en","image":"https://developers.cloudflare.com/fundamentals/security/under-ddos-attack/og.png?v=fbd5f52efed70e5a","dateModified":"2026-04-20","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Learn what account API tokens are, when to use them, and what they currently work with title: Account API tokens image: https://developers.cloudflare.com/fundamentals/api/get-started/account-owned-tokens/og.png?v=1f30c8f2ac4920d4
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/fundamentals/llms.txt
Use this file to discover all available pages before exploring further.
Docs