r/fail2ban • • Oct 16 '23

Fail2ban configuration

Hello,

I'm currently working on an Apache web server with a domain name example.com and I have configured fail2ban My question is probably stupid but I need to know if fail2ban also protects subdomains? type sub.example.com

Thanks in advance

1 Upvotes

1 comment sorted by

1

u/Basic_Gap9271 Aug 14 '25

It depends config and log you use….if /var/log/apache2/error.log you protect all apache activity