I have recently started a new Digital Ocean droplet with 5 wordpress sites on it. It has been going down a lot because of XML-RPC attacks. I have tried everything DO suggested and I am still going down.
I have downloaded the Advanced Access Manager wordpress plugin and disabled XML-RPC. I have also edited the apache .conf files adding the code
<files xmlrpc.php>
order allow,deny
deny from all
</files>
Even after all that my mysql is still going down. When I run grep xmlrpc /var/log/apache2/access.log it shows a ton of lines like this
123.57.254.142 - - [21/Oct/2018:08:01:18 +0000] "POST /xmlrpc.php HTTP/1.1" 400 0 "-" "-"
Am I doing something wrong? Why is droplet still vulnerable even though I have turned off XML-RPC on all my sites? Thanks so much!