Skip to content
Security2 min read

What is a DDoS (distributed denial-of-service) attack?

Short answer

A DDoS (distributed denial-of-service) attack tries to knock a site or server offline by flooding it with huge amounts of requests or data from many devices at once, usually compromised machines called a botnet, until it can't answer real visitors.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Types of DDoS attack
  2. Signs of an attack
  3. Reducing the impact
  4. On ArabyHost

An attacker doesn’t need a hole in your site; they only exploit resource limits. Every server can handle a certain number of requests per second, and anything beyond that waits or is dropped. When thousands of devices send requests at the same moment, real visitors get lost in the flood.

Types of DDoS attack

Type Layer How it works Example
Volumetric Network Saturates the connection with data UDP floods, DNS amplification
Protocol Transport Exhausts the server’s connection resources SYN flood
Application layer HTTP (layer 7) Normal-looking requests to heavy pages Hammering the search page or wp-login.php

Layer 7 attacks hurt small sites the most, because every request runs PHP and database queries, so a relatively small number can slow a site to a crawl.

Signs of an attack

203.0.113.7 - - "GET /?s=abc123 HTTP/1.1" 200
198.51.100.22 - - "GET /?s=xyz789 HTTP/1.1" 200

Reducing the impact

  1. Put a CDN or proxy in front of the site: a service like Cloudflare absorbs volumetric attacks before they reach the server; see using Cloudflare with your hosting.
  2. Turn on caching: pages served from cache don’t run PHP for every request.
  3. Rate-limit login and search pages, and use a web application firewall.
  4. Protect forms with a CAPTCHA where needed.

On ArabyHost

Every ArabyHost account has its own resource limits through CloudLinux LVE, so pressure on one site can’t consume the whole server, and Imunify360 security blocks abusive addresses. Even so, shared hosting isn’t built to absorb large volumetric attacks, so sites likely to be targeted should put a proxy such as Cloudflare in front, and contact our Arabic support team when they notice unusual load.

FAQ

What's the difference between DoS and DDoS?

A DoS attack comes from a single source, so blocking one IP stops it. A DDoS comes from thousands of sources spread around the world, so blocking individual addresses doesn't help.

Does a DDoS attack steal data?

Not by itself. Its goal is to take the service down, not to break in, but attackers sometimes use one as a distraction during another intrusion attempt, so keep an eye on login logs too.

How can I tell an attack from real traffic?

In an attack you see the same URL requested over and over from many addresses, or from countries your audience doesn't usually come from, with no real engagement such as purchases or sign-ups.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.