Скорость и безопасность

DDoS attacks on websites: protection and a response plan

Your site suddenly stops opening or slows down, and the hosting provider reports an overload. Sometimes it is a successful ad day, sometimes an attack by a competitor or an extortionist. Here is how to tell one from the other and which measures help a small business.

Monolith Studio editorial team3 min read

What DDoS is and who it affects

DDoS is a massive stream of requests from many devices that keeps the server from serving real visitors. It is commonly believed that only large companies are attacked, but that is not so. Small businesses suffer from cheap attacks ordered by competitors or former contractors, and from automated form spam, which in effect creates the same load.

Not every overload is an attack. A site can go down because of a successful ad campaign, a weak hosting plan or a heavy script. The first thing to do is look at the request log and the load. If many requests hit one page with identical parameters and come from unusual countries, it is probably an attack.

Levels of protection

Network-level filtering
The hosting provider or CDN cuts off junk traffic before it reaches the server. Check whether this is included in your plan.
Page caching
Static pages are served from the cache instead of being assembled each time. This weakens an attack and speeds up the site.
Request limiting
No more than a set number of requests per minute from one address, especially for forms and login.
Form protection
A hidden honeypot field, a bot check and a limit on submission frequency stop spam.
Scalability
The ability to quickly increase server resources for the duration of a peak.
Monitoring
A Telegram alert if the site is unavailable or the load has grown.

Attack response plan

  1. Confirm the problem

    Check availability from another network, look at the load and the request log.

  2. Contact your hosting provider

    They can see the traffic and often turn on filtering right away. You need to know the emergency contact in advance.

  3. Turn on CDN protection

    If the site is not connected yet, switch DNS to a service with protection, taking into account the requirements for the .kz zone.

  4. Close off the targets

    Temporarily disable heavy pages and search, leaving a light version with a phone number and a form.

  5. Warn your customers

    A message on social networks and in the messenger: the site is temporarily unavailable, we take orders by phone.

Preparing in advance

  • Backups of the site and database for several days
  • Hosting that claims DDoS protection and responds to requests quickly
  • Availability monitoring with alerts
  • Emergency contacts for the hosting provider and the developer
  • A written procedure: who makes decisions and who writes to customers
  • A backup channel for receiving requests: messenger, phone

Want the same for your business?

We'll show you how it would work for your business and name the price before we start.

Discuss your project

FAQ

Can you find out who is attacking?

Practically no. The source is thousands of infected devices. The realistic goal is to withstand the attack, not to find who ordered it.

Does moving to a more expensive plan help?

Against a powerful attack, not always. Against overload from spam and bots, yes, as does proper caching.

Does a .kz domain require Kazakhstan hosting when using a CDN?

The requirements for hosting a site in the .kz zone should be checked in advance; they are described in our article about the domain.

Didn't find your question? Message us and we'll reply within one business day.

Ask a question

Read further

We will prepare your site for load

We will set up caching, form protection, monitoring and a response plan for the day your site starts to fail at the worst possible moment.

Call+7 708 758 18 60Message usWhatsApp
CityAktobe · we work across all of Kazakhstan

Get a quote

We'll reply within 15 minutes with an approximate price.