Installing firewall..
Try having a firewall script - which preventing DDOS attack from happening..

but i aint sure if this is the most appropriate action to be taken though..
ppls here might have better alternatives..