{"id":19426,"date":"2026-11-18T01:46:15","date_gmt":"2026-11-17T22:46:15","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/secure-directadmin\/"},"modified":"2026-11-18T01:46:18","modified_gmt":"2026-11-17T22:46:18","password":"","slug":"secure-directadmin","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/secure-directadmin\/","title":{"rendered":"Securing DirectAdmin \u2014 The Key Hardening Steps, Step by Step 2026"},"content":{"rendered":"<div class=\"hkb\" dir=\"ltr\">\n<div class=\"hkb-tldr\"><b>In short<\/b>To secure DirectAdmin: enable two-factor auth, use a strong password, enable the Brute Force Monitor, restrict access to port 2222, and keep DirectAdmin and the system updated.<\/div>\n<div class=\"hy-vid\"><div style=\"width: 1280px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-19426-1\" width=\"1280\" height=\"720\" poster=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-cp-da-sec-en.jpg\" preload=\"none\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-cp-da-sec-en.mp4?_=1\" \/><a href=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-cp-da-sec-en.mp4\">https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-cp-da-sec-en.mp4<\/a><\/video><\/div><\/div>\n<p><b>DirectAdmin<\/b> manages your server, so its security is a priority. It provides built-in tools like the Brute Force Monitor and two-factor auth. In this guide from the Hyyat Host team we walk through the key hardening steps after installation.<\/p>\n<div class=\"hkb-cta\" dir=\"rtl\" style=\"background:linear-gradient(135deg,#0b2a55,#123a74);border:1px solid #f7931e;border-radius:14px;padding:22px 24px;margin:26px 0;color:#ffffff;\">\n<div style=\"font-size:1.15em;font-weight:700;margin-bottom:8px;color:#ffffff;\">Want a secured server from the start?<\/div>\n<div style=\"color:#cfe0f5;margin-bottom:16px;line-height:1.8;\">Hyyat Host virtual servers come with a firewall and basic security settings, plus Arabic support to help you harden step by step.<\/div>\n<p><a href=\"https:\/\/www.hyyat.com\/en\/vps-hosting\/\" style=\"display:inline-block;background:#f7931e;color:#0b2a55;font-weight:700;padding:11px 24px;border-radius:8px;text-decoration:none;\">Explore Hyyat Host VPS plans \u2190<\/a><\/div>\n<p>This guide follows on from the <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/install-directadmin-vps\/\">DirectAdmin install guide<\/a>; apply these steps right after installation.<\/p>\n<h2>1) Enable two-factor authentication (2FA)<\/h2>\n<p>From your account settings enable <b>Two-Step Authentication<\/b> with an authenticator app, so even if the password leaks, no one gets in without your phone&#8217;s code.<\/p>\n<h2>2) Use a strong password<\/h2>\n<p>Make the admin password long and unique, and change it immediately if default.<\/p>\n<h2>3) Enable the Brute Force Monitor (BFM)<\/h2>\n<p>From the admin level enable the <b>Brute Force Monitor (BFM)<\/b>, which watches failed login attempts and automatically blocks suspicious IPs.<\/p>\n<h2>4) Restrict access to the panel<\/h2>\n<p>Allow access to the panel port <b>2222<\/b> from your own IP only where possible, and use <b>Login Keys<\/b> instead of the password for automated tasks.<\/p>\n<h2>5) Keep DirectAdmin and the system updated<\/h2>\n<p>Update DirectAdmin from the admin panel, and update the system regularly with:<\/p>\n<pre class=\"hkb-code\">apt update &amp;&amp; apt upgrade -y<\/pre>\n<h2>Quick security checklist<\/h2>\n<ul class=\"hkb-list\">\n<li>Two-factor authentication enabled \u2714<\/li>\n<li>Strong, unique password \u2714<\/li>\n<li>Brute Force Monitor enabled \u2714<\/li>\n<li>Port 2222 restricted \u2714<\/li>\n<li>DirectAdmin and system updated \u2714<\/li>\n<\/ul>\n<div class=\"hkb-hh\">\n<h2>Next step<\/h2>\n<ul>\n<li>Enable 2FA and BFM.<\/li>\n<li>Restrict port 2222 and use Login Keys.<\/li>\n<li>See the <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/best-vps-control-panels\/\">VPS control panel comparison<\/a> to learn each panel&#8217;s strengths.<\/li>\n<\/ul>\n<p style=\"margin:10px 0 0\">And if you&#8217;d like us to secure your server and panel for you, open a support ticket \u2014 we reply within 24 hours at most.<\/p>\n<\/div>\n<h2>Frequently asked questions<\/h2>\n<div class=\"hkb-faq\">\n<details>\n<summary>What is the most important step to secure DirectAdmin?<\/summary>\n<p>Enabling two-factor authentication and the Brute Force Monitor with a strong password.<\/p>\n<\/details>\n<details>\n<summary>What is the Brute Force Monitor?<\/summary>\n<p>A DirectAdmin tool that watches failed logins and automatically blocks suspicious IPs.<\/p>\n<\/details>\n<details>\n<summary>How do I restrict access to the panel?<\/summary>\n<p>Allow port 2222 from your IP, and use Login Keys for automated tasks.<\/p>\n<\/details>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In shortTo secure DirectAdmin: enable two-factor auth, use a strong password, enable the Brute Force Monitor, restrict access to port 2222, and keep DirectAdmin and the system updated. DirectAdmin manages your server, so its security is a priority. It provides built-in tools like the Brute Force Monitor and two-factor auth. In this guide from the [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":19396,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2955],"doc_tag":[],"class_list":["post-19426","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-directadmin-en"],"year_month":"2026-11","word_count":385,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"DirectAdmin","term_url":"https:\/\/www.hyyat.com\/en\/kb\/directadmin-en\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/19426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=19426"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/19426\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media\/19396"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=19426"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=19426"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=19426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}