# DDoS protection

DDoS protection is a server add-on that mitigates volumetric attacks at the network edge, all the time. It's billed per server while it's on.

## Turn on DDoS protection

1. Go to **Servers** → [Create server](https://cloud.betterstack.com/team/t0/servers/new ";_blank")
2. Under **Extras**, turn on **DDoS protection**.
3. Finish the rest of the form and click **Create server**.

![DDoS protection toggle in the Extras section of the Create server form](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/29fab55c-2ac2-415a-59ec-0e61598b6b00/md2x =2100x660)

## Websites behind Cloudflare

A proxied DNS record from the [Cloudflare](https://betterstack.com/docs/cloud/integrations/cloudflare/) integration adds Cloudflare's own DDoS protection to HTTP traffic. To keep attackers from skipping Cloudflare, limit ports 80 and 443 to Cloudflare with the **Allow Cloudflare only** shortcut in the server's [firewall](https://betterstack.com/docs/cloud/networks/firewalls/#create-a-firewall).

## Need help?

Please let us know at hello@betterstack.com.  
We're happy to help! 🙏
