Every once in a while you’ll find yourself the victim of unwanted company, beit nuisance users of your forums or an outright spam attack. Last week someone in Russia had the bright idea to fire off a bot on PHPkitchen that sent our bandwidth limit through the roof and ended up costing a pretty penny. Read more to find out how to update your httpd.conf to ban an IP/domain name.
Update your apache config as follows
<Directory "/"> order allow,deny allow from all deny from 18.104.22.168 #bad IP </Directory>