
{"id":23271,"date":"2025-04-15T13:40:08","date_gmt":"2025-04-15T11:40:08","guid":{"rendered":"https:\/\/contabo.com\/blog\/kb\/103000347171-how-can-i-improve-the-security-of-my-server\/"},"modified":"2025-05-04T01:27:11","modified_gmt":"2025-05-03T23:27:11","slug":"103000347171-how-can-i-improve-the-security-of-my-server","status":"publish","type":"kb","link":"https:\/\/contabo.com\/blog\/kb\/103000347171-how-can-i-improve-the-security-of-my-server\/","title":{"rendered":"How Can I Improve the Security of My Server?"},"content":{"rendered":"<h4 dir=\"ltr\"><strong>How can I improve the security of my server?<\/strong><\/h4>\n<p>Please understand that we provide unmanaged access to our servers. <strong>Once root access to the server is granted, further configuration and security measures are your responsibility.&nbsp;<\/strong>&nbsp;Here are some recommendations we suggest you make to help improve the security of your server:<\/p>\n<ul>\n<li><strong>Install and run antivirus software<\/strong> &#8211; For example, ClamAV.\n<\/li>\n<li><strong dir=\"ltr\">Set up a firewall&nbsp;<\/strong>&#8211; When setting up a firewall, ensure that the firewall is not blocking requests on the new port.\n<\/li>\n<li><strong dir=\"ltr\">Limit open ports to only those needed for your services &#8211;&nbsp;<\/strong>If you experience issues after changing a port, you can still access your server using VNC to revert or adjust your settings. For additional instructions on using VNC with your VPS, refer to our tutorial <u><a href=\"https:\/\/contabo.com\/blog\/vnc-connect-vps\/\" target=\"_blank\" rel=\"noopener\"><u dir=\"ltr\">here<\/u><\/a><\/u>.\n<\/li>\n<li><strong>Install anti-brute-force software<\/strong> &#8211; Recommended tools include <strong data-end=\"1251\" data-start=\"1241\">cPHulk<\/strong> and <strong data-end=\"1268\" data-start=\"1256\">Fail2ban<\/strong>, which help protect against repeated unauthorized login attempts.\n<\/li>\n<li><strong dir=\"ltr\">Use secure passwords for all logins on the server&nbsp;<\/strong>&#8211; Avoid common or easily guessed passwords and consider using a password manager to generate and store complex passwords.\n<\/li>\n<li><strong dir=\"ltr\">Be cautious with email and web activity&nbsp;<\/strong>&#8211; Do not click on suspicious links or download unknown attachments. Avoid visiting untrusted websites.<br \/><strong dir=\"ltr\"><br \/><\/strong><\/li>\n<li><strong dir=\"ltr\">Keep software up-to-date<\/strong> &#8211;\n<ul>\n<li dir=\"ltr\">For WordPress users: outdated versions are a common attack point. We strongly recommend using <strong data-end=\"1842\" data-start=\"1829\">Wordfence<\/strong> for enhanced WordPress security.\n<\/li>\n<li dir=\"ltr\">For other platforms: explore available security add-ons or plugins tailored to your software.\n<\/li>\n<\/ul>\n<\/li>\n<li><strong dir=\"ltr\">Change the default SSH port and enable SSH Key Authentication&nbsp;<\/strong> &#8211; You can find a guide on how to do this <u><a href=\"https:\/\/help.contabo.com\/en\/support\/solutions\/articles\/103000271395-how-do-i-change-my-server-s-port-\" rel=\"noreferrer nofollow noopener\" target=\"_blank\"><u>here<\/u><\/a><\/u>.\n<\/li>\n<li><strong dir=\"ltr\">Enable two-factor authentication (2FA) with cPanel\/WHM&nbsp;<\/strong>&#8211; With cPanel\/WHM, 2FA adds an additional layer of login protection. Make sure it&rsquo;s activated for all admin-level users. <strong dir=\"ltr\"><br \/><\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span class=\"ast-load-more active\"><a href=\"https:\/\/help.contabo.com\/en\/support\/solutions\/articles\/103000347171-how-can-i-improve-the-security-of-my-server-\" rel=\"nofollow\">Details&#8230;<\/a> <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How can I improve the security of my server? Please understand that we provide unmanaged access to our servers. Once root access to the server is granted, further configuration and security measures are your responsibility.&nbsp;&nbsp;Here are some recommendations we suggest you make to help improve the security of your server: Install and run antivirus software [&hellip;]<\/p>\n","protected":false},"author":72,"featured_media":0,"template":"","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2067],"tags":[],"class_list":["post-23271","kb","type-kb","status-publish","hentry","category-kb"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Contabo Web","author_link":"https:\/\/contabo.com\/blog\/author\/julius-nalivaiko\/"},"uagb_comment_info":0,"uagb_excerpt":"How can I improve the security of my server? Please understand that we provide unmanaged access to our servers. Once root access to the server is granted, further configuration and security measures are your responsibility.&nbsp;&nbsp;Here are some recommendations we suggest you make to help improve the security of your server: Install and run antivirus software&hellip;","_links":{"self":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/23271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/users\/72"}],"version-history":[{"count":1,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/23271\/revisions"}],"predecessor-version":[{"id":23432,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/23271\/revisions\/23432"}],"wp:attachment":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media?parent=23271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/categories?post=23271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/tags?post=23271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}