Itnetic logo Itnetic Technologies
PlatformLogsNetworkPricing
Log inStart free
PlatformLogsNetworkPricing
Log inStart free

Learn · Incident response

How to stop a DDoS attack on your website.

A practical, ordered checklist for the moment your site goes down — and for making sure the next attack never reaches it.

Updated July 8, 2026 · Itnetic team — reviewed by Petr Chlíbek, founder

Key takeaways

  • First confirm it is an attack: request volume far above baseline, concentrated on few endpoints, origin CPU saturated while bandwidth looks normal.
  • The fastest mitigation is DNS-based edge filtering — it activates as DNS propagates, typically within 5–30 minutes.
  • After enabling protection, lock down your origin IP, or attackers will bypass the filter and hit your server directly.
  • Keep protection permanently on: the first minutes of an attack are the worst possible time to set it up.
StepGoalTypical time
1. Confirm the attackRule out outages and traffic spikesMinutes
2. Enable edge filteringDrop attack traffic before your origin5–30 min (DNS)
3. Lock down the originPrevent direct-to-IP bypassSame day
4. Cut request costCache, rate-limit, simplify pagesSame day
5. Document & keep protection onBe ready before the next waveOngoing

Step 1 — Confirm it is actually a DDoS

Not every outage is an attack. Check monitoring before reacting: a traffic spike with normal request diversity may be a marketing win or a bot crawl. Signs it is an attack: request volume far above baseline concentrated on a few endpoints, traffic from unusual networks or countries, origin CPU/connections saturated while a deploy or infrastructure change is ruled out. Your hosting provider's dashboard and server logs answer this in minutes.

Step 2 — Get filtering in front of your origin

You cannot win a resource war on your own server — you need attack traffic dropped before it reaches you. The fastest path is a reverse-proxy protection service enabled through DNS: point your domain's records at the protection layer and traffic starts flowing through its scrubbing edge. With Itnetic this is two DNS record changes, and most domains are protected within about five minutes as DNS propagates.

If you are mid-attack and already behind a protection service, enable its strictest mode ("under attack" / challenge everything) first, then relax it once the wave passes.

Step 3 — Hide and lock down your origin

Once traffic flows through a protection edge, attackers will try to hit your server's IP address directly, bypassing the filter. Close that door:

  • Firewall your origin so it only accepts traffic from the protection network.
  • If your origin IP was public before (DNS history is easy to look up), ask your host for a new IP after enabling protection.
  • Remove the origin IP from any DNS records that remain unproxied (mail records are a common leak).

Step 4 — Reduce the cost of every request

Layer 7 attacks win by making you do expensive work. Make it cheap:

  • Cache aggressively at the edge so repeated requests never touch your origin — this is where a CDN doubles as attack armor.
  • Rate-limit expensive endpoints: login, search, checkout, password reset.
  • Serve a static or simplified version of critical pages during an incident.

Step 5 — Document and prepare for the next one

Attacks recur. Capture logs of what was blocked, note which endpoints were targeted, and keep protection permanently enabled rather than toggling it on during incidents — the first minutes of an attack are exactly when ad-hoc setup is hardest. Review what DDoS attacks look like and how Layer 7 attacks differ, so your team recognizes the pattern early.

FAQ

Quick answers

Can I stop a DDoS attack by blocking IP addresses?

Not a distributed one. Attacks come from thousands of rotating addresses; manual blocking cannot keep up, and aggressive blanket blocks (whole countries, whole networks) cut off real customers. Filtering must be automated and behavioral, at the edge.

Will my hosting provider protect me from DDoS attacks?

Most hosts absorb some volumetric attack at the network level to protect their own infrastructure — but many will null-route (take offline) a heavily attacked site to protect neighbors, and almost none filter Layer 7 attacks that look like real traffic. Dedicated application-layer protection is your responsibility.

How fast can protection be enabled during an attack?

DNS-based protection activates as DNS propagates — typically 5 to 30 minutes for most visitors if your DNS TTL is low. Lowering TTLs to 300 seconds ahead of time makes emergency onboarding much faster.

Should I pay a DDoS ransom?

No. Payment marks you as a paying target and funds the next attack; there is no guarantee the attack stops. Enable filtering, preserve evidence, and report the extortion to law enforcement.

Keep reading

01

What is a DDoS attack?

A distributed denial-of-service (DDoS) attack overwhelms a website or API with traffic from many machines at once, until real visitors can no longer get through.

02

What is a Layer 7 DDoS attack?

Layer 7 (application-layer) DDoS attacks imitate legitimate visitors instead of flooding the network — which is exactly why traditional defenses miss them.

03

What is a CDN?

A content delivery network (CDN) stores copies of your website on servers around the world, so every visitor is served from the location nearest to them.

Protect my website freeHow our protection works
Itnetic logo Itnetic Technologies

Advanced DDoS mitigation and web performance solutions for modern businesses. Protect your infrastructure across multiple regions.

Product

  • DDoS Mitigation
  • Web CDN
  • Network
  • Pricing

Resources

  • Learn
  • Changelog
  • FAQ
  • Status

Company

  • Founder
  • Contact
Petr ChlíbekIČO: 21210756Neplátce DPH
© 2026 Itnetic Technologies. All rights reserved.
Terms of ServicePrivacy PolicyCookie PolicyDPA

We use essential cookies to run and secure the site. With your consent we also use Google Analytics to understand usage. Cookie Policy