NewOne plan from €9.90, extra domains €1, every feature included

All articlesBest Practices

DDoS Protection for E-Commerce: How One Attack Can Cost Millions

A

Akarguard Team

Security Engineering

Sep 13, 20268 min read

E-commerce sites face DDoS attacks most frequently during peak sales periods — when the cost of downtime is highest. Here's how to stay up when attackers strike.

For an online store, a DDoS attack is not an abstract security concern — it is a directly quantifiable loss. A retailer doing $100,000 an hour at peak that goes down for two hours has lost $200,000 in revenue outright, before you count the brand damage, the SEO harm from crawlers hitting errors, and the customer trust that is far harder to win back than to lose. That math is exactly why e-commerce is attacked most precisely when it can least afford it.

When the Attacks Come

  • Black Friday and Cyber Monday, when attack frequency spikes several-fold over baseline.
  • Flash-sale launches, where competitors or extortionists time an attack to your own marketing calendar.
  • Peak checkout windows, where even a five-minute outage during a limited promotion is devastating.
  • Post-dispute retaliation from an unhappy vendor or a customer with technical knowledge and a grudge.

What Attackers Actually Target

A competent attacker does not just flood your bandwidth — they aim at your most expensive endpoints. Product-search APIs, cart operations, checkout flows and payment-gateway callbacks all hit your database, so a modest request rate against them does far more damage than a larger flood against static pages. A classic move is an HTTP flood against /search with a unique query string on every request: it sails past your CDN cache and forces a fresh database query every time. This is why raw bandwidth figures understate the threat to a store.

Attackers pick your costly paths

The dangerous flood is not the biggest one — it is the one aimed at checkout and search. A few hundred well-targeted requests per second to a database-backed endpoint can hurt more than gigabits against cacheable images.

A Protection Strategy for Stores

  • Route all traffic through Akarguard's reverse proxy via DNS — the setup is the same whether it is a quiet Tuesday or Black Friday.
  • Cache static pages and product listings at the edge so attack traffic hits cache, not your origin.
  • Rate-limit cart and checkout per session — real shoppers do not check out 200 times a minute.
  • Keep your origin IP private — never exposed in order-confirmation emails, receipts or error pages.

Before Every Major Sale

Peak-season protection is won in the calm weeks beforehand, not on the morning of the sale. Before every major event, verify your DNS still points at Akarguard, confirm your origin IP is not exposed anywhere, test your WAF rules against your own promotional URLs so a legitimate campaign is not blocked, and brief your on-call team on the response runbook. With the domain behind the reverse-proxy edge, automatic mitigation escalates protection the instant an attack is detected during the sale, your origin stays hidden, and per-endpoint limits keep checkout available — so the busiest day of your year stays boring, which on Black Friday is exactly what you want.

Frequently asked questions

How much can a DDoS attack cost an e-commerce site?

Directly proportional to your peak revenue: a store doing $100,000 an hour that's down for two hours loses $200,000 outright, plus brand damage, SEO harm from crawlers hitting errors, and lost customer trust. Attacks are timed to peak sales precisely because that's when downtime costs the most.

When are e-commerce sites most likely to be attacked?

During peak revenue windows — Black Friday and Cyber Monday, flash-sale launches, and limited-time promotions — when the cost of downtime and the attacker's leverage are highest. Post-dispute retaliation from vendors or customers is also common.

What do DDoS attackers target on an online store?

Your most expensive endpoints, not just bandwidth: product-search APIs, cart operations, checkout and payment callbacks all hit the database. An HTTP flood against /search with a unique query string per request bypasses your CDN cache and forces a fresh query every time, so a modest rate does outsized damage.

How do I protect my store for Black Friday?

Set up well before the day: route traffic through a reverse proxy, cache static pages and listings at the edge, rate-limit cart and checkout per session, and keep your origin IP private. Before each sale, verify DNS, confirm the origin isn't exposed, test WAF rules against your promo URLs, and brief the on-call team.

A

Akarguard Team

Security Engineering at Akarguard

Ready to protect your infrastructure?

Start free — 7 days, nothing charged. €9.90 a month after that, €1 for each extra domain.

Get Protected Free

Keep your site up
on its worst day.

€9.90 a month, €1 for each extra domain, every feature included, 7 days free. One DNS change to start.