block access to 1 domain

infracom2005

Verified User
Joined
Nov 4, 2010
Messages
32
Hello,

I'm experiencing a DDoS attack on a domain. The domain uses external DNS servers, so even if I delete the account, it still accesses the default DirectAdmin page. How can I block Apache access for that domain only?
 
How can I block Apache access for that domain only?

Hello,

You might create a virtual host with the domain and use .htaccess with either mod_rewrite or mod_access_compat instructions to block connections to it. Depending on how big the DDoS attack is, you might still find either network interface overload or apache down.

If the DDoS attack is too aggressive you might contact your DC for an assistance.
 
Back
Top