---
title: "Turn on under attack mode"
url: "https://inleed.com/helpcenter/under-attack-mode"
language: "en"
updated: "2026-11-20"
category: "Web hosting"
type: "guide"
---

# Turn on under attack mode

Under attack mode checks every visitor for a moment before the page shows. Real visitors get in after a second or so, while bots and attack traffic are stopped. Use it when your site is overloaded.

## Right guide?

- Doesn’t the domain have CDN turned on? Turn it on first, it takes a few minutes.  
  [Turn on CDN for your website](https://inleed.com/helpcenter/turn-on-cdn)

## Before you start

- Services that call your site automatically, for example payments, monitoring and apps, can’t pass the check and may be stopped while the mode is on.
- Add the office’s IP address as trusted, so you and your colleagues skip the check.  
  [Block countries and IP addresses with web protection](https://inleed.com/helpcenter/block-countries-ips-web-protection)

## How to turn it on

1. Log in to the [client area](https://login.inleed.net) and click **Manage** next to the domain.

   The domain’s page opens.

**Tip:** Domain with another registrar? Click **Manage** next to it under the **CDN & security** tab on your hosting’s page.

2. Open the **CDN & security** tab.

3. Click **Security**.

   The **Under attack mode** card is at the top.

### A. Turn on

The site is overloaded right now.

4. Choose how long the mode stays on: 1, 6 or 24 hours.

   Choose a short time. You can extend it.

5. Click **Turn on**.

   The mode turns on at once.

### B. Extend or turn off

The mode is already on.

4. Click **Extend 1 hour** if the attack is still going on.

   At most 72 hours ahead.

5. Click **Turn off** when the attack is over.

   Everything goes back to how it was, including the DDoS sensitivity.

## How to know it worked

The card turns red and shows the end time. A red banner, **Under attack mode is on**, shows at the top under **CDN & security**.

**Waiting time:** The mode turns off automatically at the end time. A visitor who has passed the check skips a new one for 1 hour, unless you’ve changed it.

## If something doesn’t work

### Payments, monitoring or other services stop working

**Why:** Automatic calls can’t pass the check.

**What to do:** Turn off the mode as soon as the attack is over.

### The DDoS protection sensitivity can’t be changed

**Why:** It’s locked while under attack mode is on.

**What to do:** It goes back to your level when the mode turns off.

### The site is still slow

**Why:** The load doesn’t come from visitors, for example a heavy plugin.

**What to do:** See the troubleshooting for a slow website.

[My website is slow](https://inleed.com/helpcenter/website-is-slow)

## Good to know

- Trusted IP addresses, for example the office, are let through without a check.  
  [Block countries and IP addresses with web protection](https://inleed.com/helpcenter/block-countries-ips-web-protection)
- Without CDN there’s no under attack mode. Inleed’s network still has basic protection against overload attacks, but it can’t be adjusted.  
  [Turn on CDN for your website](https://inleed.com/helpcenter/turn-on-cdn)
- AI bots that collect training data are already blocked for all hosting.  
  [Do you block AI crawlers like GPTBot and ClaudeBot?](https://inleed.com/helpcenter/do-you-block-ai-crawlers)

## Related guides

- [Turn on CDN for your website](https://inleed.com/helpcenter/turn-on-cdn)
- [Set up web protection for your website](https://inleed.com/helpcenter/web-protection-settings)
- [Block countries and IP addresses with web protection](https://inleed.com/helpcenter/block-countries-ips-web-protection)
- [Web protection blocks real visitors](https://inleed.com/helpcenter/web-protection-blocks-visitors)
