# How do i enable under attack mode

**URL:** <https://forum.infinityfree.com/t/how-do-i-enable-under-attack-mode/44048>\
**Category:** Hosting Support\
**Created:** [April 18, 2021, 5:23am UTC](https://forum.infinityfree.com/t/how-do-i-enable-under-attack-mode/44048 "2021-04-18T05:23:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![alexvf](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/alexvf/32/14357_2.png) [@alexvf](https://forum.infinityfree.com/u/alexvf)\
**Post date:** [April 18, 2021, 10:05am UTC](https://forum.infinityfree.com/t/how-do-i-enable-under-attack-mode/44048/3 "2021-04-18T10:05:50Z")

</div>

You can change your nameservers to Cloudflare **after** you added your domain name in InfinityFree.  
If you already added your domain name to InfinityFree, you can now change your nameservers to Cloudflare.

> [@How to use cloudflare](https://forum.infinityfree.com/t/how-to-use-cloudflare/38883):
>
> DO NOT USE THE CPANEL INTERGRATION This is the proper way (the cpanel thing is broken) Change your name servers to cloudflare Set up cloudflare through [the dashboard](https://dash.cloudflare.com/) Add these cname records at cloudflare: Name: @ Content: your main domain Name: www Content: @ Make sure to click the orange cloud until it goes gray Pros Bypass cookie / javascript checks Full DNS management I hope this helped slight_smile I forgot this, but ANY DNS records need to be added through Cloudflare, not vPanel (thanks…

---

_[View the full topic](https://forum.infinityfree.com/t/how-do-i-enable-under-attack-mode/44048)._
