What a DDoS attack is
A distributed denial-of-service (DDoS) attack floods your website with so much traffic that real customers cannot get through. The traffic usually comes from thousands of hijacked devices — routers, cameras, servers — rented out as "botnets". Attacks can be bought cheaply, which is why they are sometimes used against small businesses by competitors, disgruntled customers or extortionists.
Types of DDoS
- Volumetric — huge amounts of traffic that saturate your connection.
- Protocol — abuse of network protocols to exhaust servers or firewalls.
- Application-layer — realistic-looking requests to expensive pages such as search, login or checkout. These need far less traffic to cause an outage.
How likely is it for a small business?
Most small businesses will never face a large targeted DDoS. Far more common are smaller application-layer floods, aggressive bots, and scrapers that overload cheap hosting. The good news: the same defences handle all of them.
Affordable protections
1. Use a CDN or reverse proxy
A content delivery network sits in front of your site, absorbs volumetric attacks and caches pages. Several providers offer generous free or low-cost plans that include DDoS mitigation.
2. Hide your origin server
Once behind a CDN, make sure your server only accepts traffic from the CDN, and that old DNS records do not reveal its real IP address.
3. Rate limit expensive endpoints
Login, search, sign-up, contact forms and APIs should limit requests per IP. See API rate limiting and bad bot protection.
4. Use a web application firewall
A WAF can block known attack patterns and challenge suspicious traffic.
5. Cache aggressively
Pages served from cache cost your server nothing.
6. Have a plan
Know how to switch on "under attack" mode at your CDN, who to call at your host, and how you will tell customers.
Watch out for extortion
Some criminals send emails threatening a DDoS unless you pay. Do not pay; report it to Action Fraud and make sure your protections are switched on.
Related risks
DDoS is about availability. Most small business breaches come from vulnerabilities in the site itself — see how to protect your website from hackers. Yrzo AI checks both your exposure and your application security — run a free scan.
Related reading: Bad Bot Protection: Stopping Scrapers, Spam and Login Attacks · Website Defaced? What to Do in the First 24 Hours · What Is Attack Surface Management? A Plain-English Guide