Plus Datacenter...
Security

What Is a DDoS Attack? How to Protect Your Site and Server

A DDoS attack floods your site or server with fake traffic until it can no longer respond. Here is how it works, the main types, how protection works and the steps you can take.

· 6 min read · Plus Datacenter

A DDoS (Distributed Denial of Service) attack is an attempt to stop a website or server from serving real visitors by flooding it with fake traffic sent from many devices at once.

Attackers usually use networks of thousands of malware-infected computers, routers and smart devices, known as botnets. Because the traffic comes from all over the world rather than a single source, blocking a few IP addresses is not enough.

How does a DDoS attack work?

Every server and every network link has a limit. The attacker sends more requests or packets than that limit can handle. The link fills up, the server runs out of CPU or memory, and requests from real visitors go unanswered. The attack does not steal your data; its goal is to take the service down. It is, however, sometimes used to distract from another attack.

Types of DDoS attacks

TypeLayerTargetExample
Volumetric attacksL3 / L4Filling up the network linkUDP flood, DNS and NTP amplification
Protocol attacksL3 / L4Exhausting the connection tables of servers and network devicesSYN flood, ICMP flood
Application-layer attacksL7Overloading the web server and databaseHTTP flood, heavy requests to login and search pages

Volumetric and protocol attacks are stopped at network level, application-layer attacks at web server level. L7 attacks look like normal visitors, which makes them the hardest to tell apart.

How can you tell you are under attack?

  • Your site suddenly slows down or stops loading altogether.
  • Traffic graphs show spikes with no obvious explanation.
  • Large numbers of requests hit the same page, share the same browser signature or come from particular countries.
  • The server's CPU, memory or connection count hits its limit within minutes.

Not every slowdown is an attack. A real traffic surge during a campaign or simply too few resources can look the same. Checking your logs and contacting your hosting provider should be the first step.

How does DDoS protection work?

The basic idea is to filter out malicious traffic before it reaches your server. Filtering systems at the data centre's network edge watch incoming traffic all the time. When an attack is detected, suspicious packets are cleaned out (scrubbing) and clean traffic keeps flowing to your server. Network-level protection can absorb far larger attacks than a firewall running on the server, because once the server's link is full there is nothing left to do on the server itself.

At the application layer, a web application firewall (WAF), rate limiting and challenges for suspicious visitors are used.

Steps you can take yourself

  • Choose protected infrastructure: make sure your hosting or server provider offers network-level DDoS protection.
  • Hide your server IP: if you use a CDN, do not expose your server's real IP address in DNS records or email headers.
  • Turn off unneeded services: close unused ports with a firewall; open DNS and NTP services can be abused in amplification attacks.
  • Set request limits: limit how many requests a single IP can send to login, search and form pages.
  • Use caching: serving popular pages from cache greatly reduces the load on the server during an attack.
  • Have a response plan: decide in advance who to contact and which settings to switch on when an attack starts.

DDoS protection at Plus Datacenter

DDoS protection costs nothing extra on Plus Datacenter infrastructure. Web hosting plans come with Layer 3/4/7 DDoS protection and the Imunify360 security layer as standard. All VPS server and VDS server plans include free DDoS protection. Customers hosting their own hardware with colocation also benefit from hardware L3/L4 protection. If you suspect an attack, our technical support team is available 24/7.

Frequently asked questions

Does a DDoS attack steal my data?

The aim of a DDoS attack is to stop the service, not to steal data. It is sometimes used to distract from another attack, so checking your systems afterwards is a good idea.

What is the difference between DoS and DDoS?

A DoS attack comes from a single source, and blocking that source is often enough. A DDoS attack comes from thousands of devices at once and needs network-level filtering.

Can the firewall on my server stop a DDoS attack?

It can stop small attacks and some application-layer attacks. Large volumetric attacks fill the server's link, so they have to be stopped at network level, at the data centre edge.

How long does a DDoS attack last?

Anywhere from a few minutes to several days. Attacks often come back in waves, so protection needs to be on all the time.

Is DDoS protection a paid extra at Plus Datacenter?

No. DDoS protection is included free as standard with web hosting, VPS and VDS plans.

DDoS protection included

Layer 3/4/7 protection on web hosting, free DDoS protection on VPS and VDS. No extra charge.

See protected servers →