How to Protect my site by DDos Attack

Hello Sir,

am having a very hard time in maintaining the server as I have appointed many cloud developers but nobody is able to solve the problem or find the exact error.when I check the server header checker it # shows 403 Forbidden in server Header and 503 Https header Response when I check https status code it should be 301 and 200 instead.I know that’s not your part of job.But I have no options left than to contact you also my website all pages are working fine but the updated pages are not ranking/or showing Cached version of it.I want answer to 2 working fine only problem in post updation and ranking I only see post updated 3 -5 days ago not showing that it was updated today’s Q-1 can you provide with the code to solve the issue or provide a developer to solve the issue? Q-2 Will creating another droplet and migrating my website to new droplet will solve the issue? I am using CloudFlare free version and Nginx server.

it always coming ddos attrack how can i handle tell me any please to fixed this issue

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
July 23, 2022

Hi there,

I could suggest using Cloudflare, their free DDoS protection service is sufficient for most cases.

What you could do is to using the following script to automatically enable your DDoS protection whenever the load on the server increases:

Bash Script to Automatically Enable Cloudflare DDoS Protection

Hope that this helps!



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up