Intrusion Detection Prevention Systems Ids Ips If I Were Attempting To Protect A

Intrusion Detection/Prevention Systems (IDS/IPS). If I were attempting to protect a Web server, what kind of a system would I choose? Can you help Explain it, with a source or if its all by knowledge.