Distributed Denial of Service (DDoS) attacks stress the server in several ways, with the intention of slowing it down or crashing the server itself. Hackers who use DDoS attacks are not necessarily trying to gain access to the website. Their main goal is to make the website inaccessible to its users. It is often unknown why hackers would use an attack like this. In the past, many DDoS attacks have been targeted at large companies. However, it is now much more common for these attacks to be directed at smaller websites, posing a threat to many normal websites on the internet. Having a secure and advanced firewall is one of the best methods for preventing DDoS attacks.