I converted my website from asp.net to .net core and host on same server. Now, website gets hundred of hits daily from different IP's trying to access like below
/php-myadmin/ /wp-content/ /mysql/
None of these directories exist on my website, I don't even have phpmyadmin on my server. I am logging error email if path is 404 not found on my website.
I would like to stop them if possible as I am getting hundred of unusual error email in a day. Also, I've blocked a handful of these IPs but they keep coming back with fresh IPs, is there any way I can prevent this more permanently? Or there is any way not to send email in that case?