Knowledge Base
Categories: cPanel_Hosting_Retail
Can Cloudflare protect my website from a DDoS attack?
Cloudflare offers powerful DDoS protection for websites of all sizes. Learn how to enable Cloudflare’s “I’m Under Attack!” mode and other features to defend your site against DDoS attacks.
How Cloudflare DDoS Protection Works
Cloudflare’s network automatically detects and mitigates most DDoS attacks. The “I’m Under Attack!” mode provides extra protection by verifying visitors before allowing access during an attack.
Step-by-Step: Enable “I’m Under Attack!” Mode
-
- Log in to your Cloudflare account.
- Select the website you want to protect.
- Click the Firewall app in the top menu.
- Go to the Settings tab.
- Under Security Level, choose I'm Under Attack! from the dropdown menu.
- When enabled, visitors see a processing page for several seconds while Cloudflare checks for bots or malicious traffic.
Advanced DDoS Protection Features
-
- Rate Limiting: Set rules to block excessive requests from suspicious IPs.
- Custom Firewall Rules: Block or challenge traffic based on country, IP, or request type.
- Bot Management: Automatically detects and mitigates bot traffic (available on paid plans).
Plan Requirements and Limitations
“I’m Under Attack!” mode is available on all Cloudflare plans, including Free. Advanced features like Bot Management and custom WAF rules may require a paid plan. Cloudflare can mitigate most DDoS attacks, but extremely large or complex attacks may require additional support.
Troubleshooting DDoS Protection in Cloudflare
-
- If you don’t see the “I’m Under Attack!” option, check your plan or contact Cloudflare support.
- If your site remains unavailable, review your DNS settings and ensure Cloudflare is enabled for your domain.
- For persistent attacks, consider upgrading your plan or enabling additional firewall rules.
Did you find this article helpful?