Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've recently transferred my site to a VPS since then the server has gone down regularly due to it being "hammered" by connection made to it. I have blocked many IP addresses but it seems this would be a endless task. I'm new to servers can anyone please help me or point me to a tutorial on how to protect my server from this attack and offer advice on what to do?

It's running Apache

Thank you

share|improve this question

migrated from Jan 28 '10 at 11:34

This question came from our site for professional and enthusiast programmers.

Define "hammered"? – Joel Etherton Jan 28 '10 at 11:33

Sounds to me like you could be the target of a DDOS attack, I have seen this happen several times when people go to a host and are assigned an IP address previously used by a high target site. (Or an honest highly popular site - may have an auto update type program that hasn't forwarded on to their new site etc.)

You can obviously use a firewall, but being realistic, Any sort of prevention would probably be costly or out of your control (e.g. setting null routes). You are much better off getting in contact with the host and simply asking for a new IP or to help in this matter.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.