Skip to content
Free website migration on every plan, done by our team.Learn more ›
Security

What is a DDoS attack and how does hosting protect you?

How DDoS attacks work, the difference between network and application-layer floods, how hosts filter them and what you can do to keep your site online.

Short answer: A DDoS (distributed denial-of-service) attack floods a website or server with junk traffic from many machines until real visitors can't get through. Hosts defend against it with network filtering, rate limiting and traffic scrubbing, and you can add a CDN or web application firewall for extra protection.

A DDoS attack doesn't break into your website; it blocks the door. Thousands of hijacked computers, cameras and routers send traffic at once, and your server spends all its time answering junk. Here's how attacks work and how to stay online.

Types of DDoS attacks

TypeHow it worksTypical defence
VolumetricOverwhelms bandwidth with huge trafficUpstream filtering and scrubbing
ProtocolExhausts server or firewall connection tablesNetwork-level filtering
Application layerImitates real visitors hitting heavy pagesRate limiting, a firewall and caching

Volumetric and protocol attacks are handled mainly by your host's network. Application-layer attacks look like real visitors, so your site's caching and firewall rules matter too.

How hosting protects you

  • Network filtering drops obviously malicious traffic before it reaches servers.
  • Rate limiting slows down sources sending too many requests.
  • Scrubbing separates attack traffic from real visitors during large floods.
  • Redundant capacity absorbs smaller attacks without anyone noticing.

Protection levels differ between providers and plans, so ask your host what's included and what happens during a very large attack.

What you can do

  1. Cache aggressively so each request costs your server less. See caching explained.
  2. Use a CDN to absorb and filter traffic. See what a CDN is.
  3. Add a web application firewall to block abusive patterns. See web application firewalls.
  4. Protect login and search pages, common targets for application-layer floods. See brute-force attacks.
  5. Block bad bots that waste resources every day. See bad bot traffic.
  6. Keep contact with your host during an attack; they can see and filter traffic you can't.

Signs you're under attack

  • A sudden traffic spike from many unrelated sources.
  • Pages that time out while the server itself looks healthy.
  • Thousands of requests to one URL, such as a login or search page.
  • Resource limit warnings in your control panel with no campaign running.

Not sure whether your site is down or overloaded? See is my website down, or is it just me?

During an attack

  1. Tell your host straight away, with the time it started and the pages affected.
  2. Turn on any "under attack" or challenge mode your CDN offers.
  3. Temporarily block the countries or networks sending most of the traffic, if your audience allows.
  4. Don't pay anyone who demands money to stop an attack. Report it.

Frequently asked questions

Why would anyone attack my site?

Motives range from extortion and competition to activism or boredom. Many attacks are cheap to launch.

Does DDoS protection stop hacking?

No. It protects availability, not your code or passwords. See website security basics.

Can a DDoS attack steal data?

Not by itself, but attackers sometimes use one as a distraction. Keep your other defences up.

Does my uptime guarantee cover DDoS attacks?

Often only up to the capacity the host can mitigate. AuroxHost's terms are in our service level agreement.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.