{"id":18355,"date":"2026-09-29T19:52:43","date_gmt":"2026-09-29T16:52:43","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/install-cpanel-whm\/"},"modified":"2026-09-29T19:52:43","modified_gmt":"2026-09-29T16:52:43","password":"","slug":"install-cpanel-whm","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/install-cpanel-whm\/","title":{"rendered":"How to Install cPanel and WHM on Your Server"},"content":{"rendered":"<div class=\"hy-tldr\" style=\"background:#f6f7fb;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:0 0 20px;line-height:1.8\"><strong>In short:<\/strong> Use a fresh server with a supported operating system and run the official installer: cd \/home &amp;&amp; curl -o latest -L https:\/\/securedownloads.cpanel.net\/latest &amp;&amp; sh latest. Installation takes about 20 to 45 minutes. Then open WHM at https:\/\/your-server-ip:2087 (or http:\/\/your-server-ip:2086), log in as root and complete the setup wizard.<\/div>\n<p>cPanel provides an installation script, so you only need to download it and run it. It is best to install cPanel on a fresh server to avoid installation errors.<\/p>\n<h2>1. Run the installer<\/h2>\n<p>Connect to your server via SSH as root and run this single command:<\/p>\n<pre>cd \/home &amp;&amp; curl -o latest -L https:\/\/securedownloads.cpanel.net\/latest &amp;&amp; sh latest<\/pre>\n<p>The command changes to the \/home directory, downloads the latest version of cPanel and runs the installer.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/cpanel_1.jpg\" alt=\"cPanel installation in the terminal\" \/><\/p>\n<p>Installation takes about 20 to 45 minutes, depending on your server and connection speed.<\/p>\n<h2>2. Log in to WHM<\/h2>\n<p>When the installation finishes, open WHM in your browser at <strong>https:\/\/your-server-ip:2087<\/strong> (or http:\/\/your-server-ip:2086), replacing your-server-ip with your server&#8217;s IP address. Log in with the <strong>root<\/strong> username and password.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/whm.png\" alt=\"WHM login\" \/><\/p>\n<h2>3. Complete the setup wizard<\/h2>\n<p>The first page after logging in is the initial setup. It shows the license agreement; accept it to continue. Depending on your cPanel version, some of the following steps may be combined or look different.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/2-install-cpanel-768x430.jpg\" alt=\"cPanel license agreement\" \/><\/p>\n<p><strong>Networking setup:<\/strong> enter a contact email address to receive important server notifications.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/3-install-cpanel.jpg\" alt=\"Contact email in WHM setup\" \/><\/p>\n<p>On the same page you are asked for the server hostname. If you do not need to change it, leave it as it is.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/4-install-cpanel.jpg\" alt=\"Server hostname\" \/><\/p>\n<p>Then enter your server&#8217;s DNS resolvers. cPanel usually detects them automatically, or you can use public resolvers such as Google DNS.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/5-install-cpanel.jpg\" alt=\"DNS resolvers\" \/><\/p>\n<p>Choose the main network interface. The IP address on this interface becomes your server&#8217;s main IP. Click <strong>Save &amp; Go to Step 3<\/strong>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/6-install-cpanel.jpg\" alt=\"Main network interface\" \/><\/p>\n<p><strong>Nameserver:<\/strong> choose the nameserver software. The recommended option is <strong>BIND<\/strong> (newer versions use PowerDNS by default). Click <strong>Save &amp; Go to Step 4<\/strong>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/7-install-cpanel-768x731.jpg\" alt=\"Nameserver configuration\" \/><\/p>\n<p>Enter the nameservers your server will use, such as <strong>ns1.yourdomain.com<\/strong> and <strong>ns2.yourdomain.com<\/strong>. You may first need to register these hostnames (child nameservers) at your domain registrar. Click <strong>Save &amp; Go to Step 5<\/strong>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/8-install-cpanel.jpg\" alt=\"Nameservers\" \/><\/p>\n<p><strong>Services:<\/strong> choose the FTP server (Pure-FTPd is the default, or ProFTPD, or Disabled), the mail server (Dovecot is the default, or Disabled), and enable <strong>cPHulk Brute Force Protection<\/strong> to protect your services against brute-force attacks. Click <strong>Save &amp; Go to Step 6<\/strong>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/Screenshot-4_28_2018-1_58_08-PM.png\" alt=\"FTP and mail services\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/Screenshot-4_28_2018-1_59_38-PM.png\" alt=\"cPHulk protection\" \/><\/p>\n<p><strong>Quotas:<\/strong> the last step. Choose <strong>Use file system quotas<\/strong>, then click <strong>Finish Setup Wizard<\/strong> and start using your server.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/04\/Screenshot-4_28_2018-2_06_52-PM.png\" alt=\"Finish the WHM setup wizard\" \/><\/p>\n<p class=\"hy-svc-link\" style=\"background:#fff5f7;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:20px 0;line-height:1.8\"><strong>Related service:<\/strong> <a href=\"https:\/\/www.hyyat.com\/en\/server-management\/\">Hyyat Host server management<\/a> installs, configures, secures and monitors your cPanel\/WHM server for you, with 24\/7 support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In short: Use a fresh server with a supported operating system and run the official installer: cd \/home &amp;&amp; curl -o latest -L https:\/\/securedownloads.cpanel.net\/latest &amp;&amp; sh latest. Installation takes about 20 to 45 minutes. Then open WHM at https:\/\/your-server-ip:2087 (or http:\/\/your-server-ip:2086), log in as root and complete the setup wizard. cPanel provides an installation script, [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"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":[2734],"doc_tag":[],"class_list":["post-18355","docs","type-docs","status-publish","hentry","doc_category-whm-cpanel-control-panels"],"year_month":"2026-10","word_count":432,"total_views":"2","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":"whm\/cpanel control panels","term_url":"https:\/\/www.hyyat.com\/en\/kb\/whm-cpanel-control-panels\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18355","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=18355"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18355\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=18355"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=18355"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=18355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}