A Distributed Denial-of-Service (DDoS) attack floods a website’s server with fake traffic from many sources until it can’t respond to real visitors. Hostinger detects and stops DDoS attacks automatically, and you can check attacks on web and Cloud hosting plans in Anti-DDoS events. To reduce the impact of an attack, use Hostinger CDN, Cloudflare, or a plan with a dedicated IP address.
The most common reasons for DDoS attacks are:
-
An unfair competitor seeking to harm your business and prevent you from making sales and serving your customers.
-
Hackers trying to extract personal and business data for malicious purposes.
-
An attack targeting one or many other websites that have the same IP as yours. Since web hosting plans use a shared IP address, your website could also be affected by an attack aimed at another site hosted on the same server.
Check DDoS attacks on Hostinger web and Cloud hosting
If a DDoS attack is active on your web or Cloud hosting plan, Hostinger dashboard shows a notification on your website dashboard and on the Plan Details page. Agency hosting plans aren’t included yet.
To see DDoS attacks on your plan, open Security → Anti-DDoS events in your website’s hosting dashboard. The Anti-DDoS events page lists the affected websites, the affected IP address, and the start and end time of each attack. Filter the list by website or by time period. Learn more in How to check Anti-DDoS events on Hostinger hosting.
How to identify and prevent DDoS attacks
A good indication of a possible DDoS attack is a sudden increase in the number of requests. You can check it in your Access Logs section under the Analytics tab.
If an exponentially growing number of unexpected requests is shown, and you are using Cloudflare, it’s highly recommended that you change your Cloudflare Security level to Under Attack mode. This will ensure that Cloudflare will reject the majority of these fake requests.
If your hosting plan is web Business or greater, you can enable Hostinger CDN and use the Under Attack Mode in case of a suspected DDoS.
However, sometimes DDoS attacks can require greater measures, such as forcing reCAPTCHA on your site or even nullrouting your hosting IP, which renders all websites on the same server temporarily unavailable. Usually, DDoS attacks last only a few hours – our monitoring tools work to resume the service as quickly as possible.
If you have more than one website on the same hosting account, a site behind a CDN can stay reachable during a null-route, while a site without one goes fully offline. This happens because Hostinger CDN can continue serving a site’s cached content even while the origin IP is null-routed, whereas a non-CDN site depends entirely on that origin IP and goes down with it.
If you prefer not to wait for your IP to become available again, you can consider a server transfer. You can perform a server transfer once per month.
Other prevention tools are upgrading to a cloud server or migrating to a VPS. These options provide you with a dedicated IP address, which is less prone to DDoS attacks as long as attackers don’t get ahold of your IP address.