How to protect server from getting spammed?
I have a VPS on digital ocean and running wordpress website. My server always crushes down everyday because of attacks.
I have Wordfence plugin installed on my site but it is not sufficient. I dont know how to solve this issue.
I always get 502 gateway error. can you help me?