Hey I was wondering if anyone knew of a way to ban an Ip address while possibly showing a 'server down' notice or sothing like that. Would there be a way in cpanel? Thanks for any help
You could use iptables to drop any connection from that IP. That would just return an eventual timeout to the user. If you want to return a custom page, you can set the ErrorDocument to be a customized page for forbidden pages: ErrorDocument 403 /server_down.html Code (markup):
if you want to restrict certain IP addresses or ranges, use the apache limit directive: you get the idea. If their IP is in there, they get a 403 fobidden.. which could be a custom 403 page. If you want to be silent, use ipfw or iptables to filter their IP address before it reaches apache.