My access logs show some ip addresses accessing cpanel and webmail urls (cpanel..com and webmail..com).
I searched online and found a few recommendations that didn't work.
I tried adding the following to my .htaccess (both in the top directory of my shared hosting account, and in the document root of my website).
AliasMatch "(.*)/cpanel(.*)$" "/"
AliasMatch "(.*)/webmail(.*)$" "/"v
I also tried
Redirect /cpanel /
and
Redirect /cpanel https://<mydomain>.com
My shared hosting is with Hostgator.
Is it possible to block access to those urls from a shared hosting account? Any suggestions on what I can do to block access with Hostgator?
And one last question - is this something worth pursuing? I mean, do most people block access to those urls? Or they simply rely on a strong password to prevent unauthorized access?
Thank you.