{"id":29934,"date":"2022-09-02T03:50:41","date_gmt":"2022-09-02T03:50:41","guid":{"rendered":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/"},"modified":"2024-12-29T02:59:30","modified_gmt":"2024-12-29T02:59:30","slug":"how-to-stop-ddos-attacks","status":"publish","type":"knowledgebase","link":"https:\/\/www.wpstaq.com\/nz\/knowledgebase\/how-to-stop-ddos-attacks\/","title":{"rendered":"How to stop DDoS attacks"},"content":{"rendered":"<h2>Issue<\/h2>\n<p>You may be experiencing a slow website and suspect that it is due to a DDoS attack.<\/p>\n<p>Below are the tools to diagnose and stopping the attack.<\/p>\n<h2><strong>Assessing Logs<\/strong><\/h2>\n<p>Head over to your WordPress site and then go to\u00a0<strong>Staq Hosting &#8212;&gt; Firewall<\/strong>. Under <strong>Access Log<\/strong>, review the <strong>Request Time<\/strong> along with the <strong>IP Address<\/strong>. Are you noticing simultaneous connections that look unnatural and appear to be bot-driven?<\/p>\n<p>Bot driven traffic appears to be simultaneous requests over a large period of time.<\/p>\n<h2>Solution<\/h2>\n<p>If Staq hasn&#8217;t automatically banned the particular IP address and you&#8217;re comfortable to say that it is a bot or a malicious attack, you can click the <span style=\"color: #ff0000;\"><strong>red button<\/strong><\/span> to block the IP Address:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-27631\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/block-button-1024x446.png\" alt=\"\" width=\"1024\" height=\"446\" \/><\/p>\n<p>If you are unsure, you can click the\u00a0<strong>IP Address<\/strong> and it&#8217;ll take you to the WHOIS IP page so that you can assess further details such as<\/p>\n<ul>\n<li>is it a logged-in WordPress user?<\/li>\n<li>what type of requested URLs were requested<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-27623 entered lazy-loaded\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/IP-data-report-1024x816.png\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" srcset=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/IP-data-report-1024x816.png 1024w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/IP-data-report-300x239.png 300w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/IP-data-report-768x612.png 768w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/IP-data-report.png 1142w\" alt=\"\" width=\"1024\" height=\"816\" data-lazy-srcset=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/IP-data-report-1024x816.png 1024w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/IP-data-report-300x239.png 300w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/IP-data-report-768x612.png 768w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/IP-data-report.png 1142w\" data-lazy-src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/IP-data-report-1024x816.png\" data-ll-status=\"loaded\" \/><\/p>\n<p>Based on the information, you can ban or leave the IP Address.<\/p>\n<h2>Using &#8216;Under Attack Mode&#8217; &#8211; Cloudflare<\/h2>\n<p>There are two options on how you can enable &#8220;I&#8217;m Under Attack&#8221;.<\/p>\n<h3>I&#8217;m Under Attack Accessible via Staq Dashboard<\/h3>\n<p>If you have Cloudflare integrated inside Staq and the integration falls under the domain that is under attack, you can quickly enable &#8220;I&#8217;m Under Attack&#8221; feature inside Staq. To enable this, go to the site&#8217;s Staq Panel and under Domains, click\u00a0<strong>CDN <\/strong>and under Cloudflare, click<strong> Details:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-37140\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/CF-details.png\" alt=\"\" width=\"1065\" height=\"421\" srcset=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/CF-details.png 1065w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/CF-details-300x119.png 300w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/CF-details-1024x405.png 1024w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/CF-details-768x304.png 768w\" sizes=\"auto, (max-width: 1065px) 100vw, 1065px\" \/><\/p>\n<p>From this screen, click <strong>Enable Under Attack Mode<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-37142\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/enable-im-underattack.png\" alt=\"\" width=\"857\" height=\"424\" srcset=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/enable-im-underattack.png 857w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/enable-im-underattack-300x148.png 300w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/enable-im-underattack-768x380.png 768w\" sizes=\"auto, (max-width: 857px) 100vw, 857px\" \/><\/p>\n<p>Once it&#8217;s not required, you can disable it by clicking <strong>Disable Under Attack Mode<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-37141\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/disable-im-underattack.png\" alt=\"\" width=\"818\" height=\"421\" srcset=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/disable-im-underattack.png 818w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/disable-im-underattack-300x154.png 300w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/disable-im-underattack-768x395.png 768w\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>I&#8217;m Under Attack Accessible via Cloudflare platform<\/h3>\n<p>Alternatively, you can log into Cloudflare and from the main dashboard, you can enable <strong>Under Attack Mode<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-37035\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/under-attack-mode.png\" alt=\"\" width=\"1639\" height=\"514\" srcset=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/under-attack-mode.png 1639w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/under-attack-mode-300x94.png 300w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/under-attack-mode-1024x321.png 1024w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/under-attack-mode-768x241.png 768w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/09\/under-attack-mode-1536x482.png 1536w\" sizes=\"auto, (max-width: 1639px) 100vw, 1639px\" \/><\/p>\n","protected":false},"featured_media":29657,"parent":0,"template":"","class_list":["post-29934","knowledgebase","type-knowledgebase","status-publish","has-post-thumbnail","hentry","categories-cdn-cloudflare","categories-security-firewall"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to stop DDoS attacks - Managed Hosting Platform for WordPress<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to stop DDoS attacks - Managed Hosting Platform for WordPress\" \/>\n<meta property=\"og:description\" content=\"Issue You may be experiencing a slow website and suspect that it is due to a DDoS attack. Below are the tools to diagnose and stopping the attack. Assessing Logs Head over to your WordPress site and then go to\u00a0Staq Hosting &#8212;&gt; Firewall. Under Access Log, review the Request Time along with the IP Address.&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/\" \/>\n<meta property=\"og:site_name\" content=\"Managed Hosting Platform for WordPress\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/staqhosting\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-29T02:59:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/security-firewall.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"501\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-stop-ddos-attacks\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-stop-ddos-attacks\\\/\",\"name\":\"How to stop DDoS attacks - Managed Hosting Platform for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-stop-ddos-attacks\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-stop-ddos-attacks\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/security-firewall.jpg\",\"datePublished\":\"2022-09-02T03:50:41+00:00\",\"dateModified\":\"2024-12-29T02:59:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-stop-ddos-attacks\\\/#breadcrumb\"},\"inLanguage\":\"en-nz\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-stop-ddos-attacks\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-nz\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-stop-ddos-attacks\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/security-firewall.jpg\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/security-firewall.jpg\",\"width\":1000,\"height\":501},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-stop-ddos-attacks\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to stop DDoS attacks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"name\":\"Managed Hosting Platform for WordPress\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wpstaq.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-nz\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\",\"name\":\"Staq\",\"alternateName\":\"WPStaq\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-nz\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"width\":512,\"height\":512,\"caption\":\"Staq\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/staqhosting\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpstaq\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to stop DDoS attacks - Managed Hosting Platform for WordPress","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/","og_locale":"en_US","og_type":"article","og_title":"How to stop DDoS attacks - Managed Hosting Platform for WordPress","og_description":"Issue You may be experiencing a slow website and suspect that it is due to a DDoS attack. Below are the tools to diagnose and stopping the attack. Assessing Logs Head over to your WordPress site and then go to\u00a0Staq Hosting &#8212;&gt; Firewall. Under Access Log, review the Request Time along with the IP Address.&hellip;","og_url":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/","og_site_name":"Managed Hosting Platform for WordPress","article_publisher":"https:\/\/www.facebook.com\/staqhosting\/","article_modified_time":"2024-12-29T02:59:30+00:00","og_image":[{"width":1000,"height":501,"url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/security-firewall.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/","url":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/","name":"How to stop DDoS attacks - Managed Hosting Platform for WordPress","isPartOf":{"@id":"https:\/\/www.wpstaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/#primaryimage"},"image":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/security-firewall.jpg","datePublished":"2022-09-02T03:50:41+00:00","dateModified":"2024-12-29T02:59:30+00:00","breadcrumb":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/#breadcrumb"},"inLanguage":"en-nz","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/"]}]},{"@type":"ImageObject","inLanguage":"en-nz","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/#primaryimage","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/security-firewall.jpg","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/security-firewall.jpg","width":1000,"height":501},{"@type":"BreadcrumbList","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-stop-ddos-attacks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wpstaq.com\/"},{"@type":"ListItem","position":2,"name":"How to stop DDoS attacks"}]},{"@type":"WebSite","@id":"https:\/\/www.wpstaq.com\/#website","url":"https:\/\/www.wpstaq.com\/","name":"Managed Hosting Platform for WordPress","description":"","publisher":{"@id":"https:\/\/www.wpstaq.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpstaq.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-nz"},{"@type":"Organization","@id":"https:\/\/www.wpstaq.com\/#organization","name":"Staq","alternateName":"WPStaq","url":"https:\/\/www.wpstaq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-nz","@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","width":512,"height":512,"caption":"Staq"},"image":{"@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/staqhosting\/","https:\/\/www.linkedin.com\/company\/wpstaq"]}]}},"_links":{"self":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/knowledgebase\/29934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/types\/knowledgebase"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/media\/29657"}],"wp:attachment":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/media?parent=29934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}