What if everyone's website is attacked and there is no money to buy a high-defense server or CDN, I didn't make any money on the website, but I also spent a lot ，When the number of sites up, always attacked, ask you to teach! ！ ！
Cloudflare basic package, 20 $ a month, I have 8 domain names, so it is not cost-effective, after all, no profit, what do you recommend?
You can still use the free level of Cloudflare it offers excelllent protection.
If you are running NGINX you should also install the free WAF from the panel..
If you are running PHP scripts, have a look at CIDRAM; it offers many levels of protection.