{"id":1675,"date":"2026-09-03T17:20:59","date_gmt":"2026-09-03T11:50:59","guid":{"rendered":"https:\/\/cpanelfree.com\/blog\/how-to-migrate-from-cpanel-to-directadmin-guide\/"},"modified":"2026-09-03T17:24:49","modified_gmt":"2026-09-03T11:54:49","slug":"how-to-migrate-from-cpanel-to-directadmin-guide","status":"publish","type":"post","link":"https:\/\/cpanelfree.com\/blog\/how-to-migrate-from-cpanel-to-directadmin-guide\/","title":{"rendered":"How to Migrate from cPanel to DirectAdmin: Complete Migration Walkthrough"},"content":{"rendered":"<div style=\"background-color: #f8fafc;border-left: 4px solid #f59e0b;padding: 20px;border-radius: 6px;margin-bottom: 25px\">\n<p style=\"margin: 0;font-size: 16px;color: #1e293b\">\n        <strong>Quick Answer:<\/strong> To migrate from cPanel to DirectAdmin: <strong>1)<\/strong> Generate a full cPanel backup (<code>\/scripts\/pkgacct username<\/code> or cPanel Backup Wizard), <strong>2)<\/strong> Transfer <code>cpmove-username.tar.gz<\/code> to DirectAdmin&#8217;s <code>\/home\/admin\/all_backups\/<\/code> directory, <strong>3)<\/strong> In DirectAdmin, go to <strong>Admin Backup\/Transfer &gt; Restore<\/strong>, select the cPanel backup format, and click <strong>Restore<\/strong>.\n    <\/p>\n<\/div>\n<h2>Why Web Hosts Are Switching to DirectAdmin<\/h2>\n<p>DirectAdmin is a mature, high-performance web hosting control panel known for its lightweight memory footprint and stable pricing. DirectAdmin includes a native <strong>cPanel-to-DirectAdmin conversion tool<\/strong> that automatically parses cPanel <code>pkgacct<\/code> archives, extracting web files, MySQL databases, email mailboxes, and DNS zone files with 100% data fidelity.<\/p>\n<h2>Step 1: Generate Full cPanel Backup Archive<\/h2>\n<p>On your cPanel server (via SSH root or cPanel Backup Wizard):<\/p>\n<pre style=\"background-color: #1e293b;color: #38bdf8;padding: 14px;border-radius: 6px;font-size: 13px\"># Generate full cPanel package archive\n\/scripts\/pkgacct username \/home\/\n\n# Generates: \/home\/cpmove-username.tar.gz<\/pre>\n<h2>Step 2: Transfer Archive to DirectAdmin Server<\/h2>\n<pre style=\"background-color: #1e293b;color: #38bdf8;padding: 14px;border-radius: 6px;font-size: 13px\">scp \/home\/cpmove-username.tar.gz root@directadmin-ip:\/home\/admin\/all_backups\/<\/pre>\n<h2>Step 3: Execute Restore in DirectAdmin<\/h2>\n<ol style=\"padding-left: 20px;line-height: 1.8\">\n<li>Log in to DirectAdmin at <code>https:\/\/your-server-ip:2222<\/code> as <code>admin<\/code>.<\/li>\n<li>Navigate to <strong>Admin Tools &gt; Admin Backup\/Transfer<\/strong>.<\/li>\n<li>Click on the <strong>Restore<\/strong> tab.<\/li>\n<li>Select the backup path <code>\/home\/admin\/all_backups<\/code>.<\/li>\n<li>DirectAdmin will automatically detect the cPanel <code>cpmove<\/code> archive format. Click <strong>Restore<\/strong>.<\/li>\n<\/ol>\n<div style=\"background-color: #f8fafc;border: 1px solid #e2e8f0;border-left: 4px solid #0ea5e9;padding: 20px;border-radius: 8px;margin: 30px 0\">\n<h3 style=\"margin-top: 0;color: #0f172a;font-size: 18px;display: flex;align-items: center\">\n        <span style=\"margin-right: 8px\">\ud83d\udd17<\/span> Recommended Related Technical Guides:<br \/>\n    <\/h3>\n<ul style=\"margin: 10px 0 0 0;padding-left: 20px;line-height: 1.8\">\n<li><a href=\"https:\/\/cpanelfree.com\/blog\/how-to-install-directadmin-linux-guide\/\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">How to Install DirectAdmin on Linux<\/a><\/li>\n<li><a href=\"https:\/\/cpanelfree.com\/blog\/how-to-migrate-from-cpanel-to-cloudpanel-guide\/\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">How to Migrate from cPanel to CloudPanel<\/a><\/li>\n<li><a href=\"https:\/\/cpanelfree.com\/blog\/best-free-cpanel-alternatives-2026\/\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">Top 7 Best Free cPanel Alternatives<\/a><\/li>\n<li><a href=\"https:\/\/cpanelfree.com\/#plans\" style=\"color: #0284c7;text-decoration: none;font-weight: 600\">Explore $0 Free cPanel Web Hosting Plans<\/a><\/li>\n<\/ul>\n<\/div>\n<h2>Understanding DirectAdmin Administrator Backup vs User Level Backup<\/h2>\n<p>DirectAdmin provides two distinct backup restoration tiers:<\/p>\n<ul style=\"padding-left: 20px;line-height: 1.8\">\n<li><strong>Admin Level Backup \/ Restore:<\/strong> Converts full cPanel account packages (<code>cpmove-user.tar.gz<\/code>) into DirectAdmin format, creating system user accounts, virtual hosts, SSL certs, and database grants automatically.<\/li>\n<li><strong>User Level Backup:<\/strong> Restores specific website document roots (<code>public_html<\/code>) and individual MySQL databases within an existing DirectAdmin user account.<\/li>\n<\/ul>\n<h2>Automated Bulk Server-to-Server Migration via DirectAdmin CLI<\/h2>\n<p>For hosting providers migrating hundreds of cPanel accounts simultaneously, DirectAdmin offers an automated batch conversion script:<\/p>\n<pre style=\"background-color: #1e293b;color: #38bdf8;padding: 14px;border-radius: 6px;font-size: 13px\">cd \/usr\/local\/directadmin\/scripts\n.\/cpanel_to_da.sh \/home\/admin\/all_backups\/cpmove-user.tar.gz<\/pre>\n<h2>Complete cPanel to DirectAdmin Migration Checklist<\/h2>\n<ol style=\"padding-left: 20px;line-height: 1.8\">\n<li><strong>Step 1 (Generate cPanel Backup):<\/strong> Log in to WHM\/cPanel and generate a full cpmove package via <code>\/scripts\/pkgacct username \/home\/<\/code>.<\/li>\n<li><strong>Step 2 (Transfer Archive):<\/strong> Copy <code>cpmove-username.tar.gz<\/code> to DirectAdmin&#8217;s <code>\/home\/admin\/all_backups\/<\/code> folder.<\/li>\n<li><strong>Step 3 (Enable Migration Mode):<\/strong> In DirectAdmin, ensure the cPanel-to-DirectAdmin migration tool is activated under <em>Admin Backup\/Transfer<\/em>.<\/li>\n<li><strong>Step 4 (Execute Restore):<\/strong> Select the cpmove archive and click <strong>Restore<\/strong>. DirectAdmin will provision the user account, Apache\/Nginx vhosts, databases, mailboxes, and DNS zone files.<\/li>\n<li><strong>Step 5 (Verify &amp; Cutover DNS):<\/strong> Test the restored site via local hosts file and update nameservers at your registrar.<\/li>\n<\/ol>\n<h2>Managing Custom Apache \/ Nginx Templates in DirectAdmin CustomBuild<\/h2>\n<p>DirectAdmin features <strong>CustomBuild 2.0<\/strong>, allowing administrators to switch between Apache, Nginx, Nginx Reverse Proxy + Apache, or OpenLiteSpeed in 1-click:<\/p>\n<pre style=\"background-color: #1e293b;color: #38bdf8;padding: 14px;border-radius: 6px;font-size: 13px\">cd \/usr\/local\/directadmin\/custombuild\n.\/build set webserver openlitespeed\n.\/build set php1_mode lsphp\n.\/build openlitespeed<\/pre>\n<div style=\"background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);border: 1px solid #334155;border-radius: 12px;padding: 25px;margin: 30px 0;text-align: center\">\n<h3 style=\"color: #38bdf8;margin-top: 0;font-size: 20px\">Zero-Hassle Web Hosting on CpanelFree<\/h3>\n<p style=\"color: #94a3b8;font-size: 14px;line-height: 1.6;max-width: 600px;margin: 0 auto 15px\">\n        Skip expensive control panel licenses. Enjoy genuine cPanel shared hosting with NVMe SSD speeds and AutoSSL at $0 cost on <strong>CpanelFree<\/strong>.\n    <\/p>\n<p>    <a href=\"https:\/\/cpanelfree.com\/#plans\" style=\"display: inline-block;background-color: #f59e0b;color: #ffffff;padding: 10px 22px;border-radius: 6px;text-decoration: none;font-weight: bold;font-size: 14px\">Claim Free Hosting Account<\/a>\n<\/div>\n<h2>Frequently Asked Questions<\/h2>\n<div style=\"border-bottom: 1px solid #e2e8f0;padding: 12px 0\">\n<h4 style=\"margin: 0 0 8px 0;color: #1e293b\">Are email accounts and passwords preserved during migration?<\/h4>\n<p style=\"margin: 0;color: #475569;font-size: 14px\">Yes. DirectAdmin&#8217;s migration parser translates cPanel shadow files and Dovecot mail directories, ensuring email users can log in with their existing passwords without interruption.<\/p>\n<\/div>\n<h2>Comparing DirectAdmin CustomBuild vs cPanel EasyApache 4<\/h2>\n<p>While cPanel utilizes EasyApache 4 (RPM-based package management), DirectAdmin relies on <strong>CustomBuild 2.0<\/strong> (source-compiled or binary packages). CustomBuild allows administrators to compile custom PHP modules, tune Nginx caching buffers, and update MariaDB versions with single-line terminal commands.<\/p>\n<div style=\"border-bottom: 1px solid #e2e8f0;padding: 12px 0\">\n<h4 style=\"margin: 0 0 8px 0;color: #1e293b\">Can I restore individual cPanel databases without restoring the full account?<\/h4>\n<p style=\"margin: 0;color: #475569;font-size: 14px\">Yes. You can extract the <code>.sql<\/code> files from inside <code>cpmove-user.tar.gz<\/code> (located in the <code>mysql\/<\/code> folder) and import them directly into DirectAdmin&#8217;s MySQL Management dashboard.<\/p>\n<\/div>\n<h2>Configuring Automated Lets Encrypt SSL Auto-Renewal in DirectAdmin<\/h2>\n<p>DirectAdmin includes built-in automated ACME certificate management. Under <strong>SSL Certificates<\/strong>, select <em>Free &amp; automatic certificate from Let&#8217;s Encrypt<\/em>, check your domain and wildcard subdomains, and click <strong>Save<\/strong>. DirectAdmin will configure automated renewal cron jobs running every 60 days.<\/p>\n<div style=\"background-color: #f1f5f9;padding: 15px;border-radius: 8px;margin: 20px 0\">\n<h4 style=\"margin-top: 0;color: #1e293b\">Pro Sysadmin Tip: Switching PHP Versions in DirectAdmin<\/h4>\n<p style=\"margin: 0;color: #475569;font-size: 14px\">DirectAdmin supports multiple concurrent PHP versions (e.g. PHP 8.1, 8.2, 8.3). In the user control panel under <em>Domain Setup<\/em>, administrators can toggle PHP versions on a per-domain basis in real time.<\/p>\n<\/div>\n<p>DirectAdmin&#8217;s native cPanel conversion tools provide an effortless, reliable pathway for webmasters and hosting providers seeking lightweight, enterprise-grade control.<\/p>\n<p>DirectAdmin also includes integrated multi-server clustering features, enabling automated DNS synchronization across geographically distributed nameservers without manual zone file replication.<\/p>\n<p>By following these structured export, restore, and verification steps, system administrators can migrate complex web hosting accounts to DirectAdmin seamlessly with zero data loss.<\/p>\n<p>Additionally, DirectAdmin provides granular resource throttling through Linux cgroups, allowing administrators to allocate dedicated CPU quotas and I\/O bandwidth per hosting account with complete multi-tenant stability.<\/p>\n<p>With its robust backup converter and low resource usage, DirectAdmin remains a top choice for modern hosting operations.<\/p>\n<p>Following this migration process guarantees complete data fidelity and seamless continuity for your websites.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quick Answer: To migrate from cPanel to DirectAdmin: 1) Generate a full cPanel backup (\/scripts\/pkgacct username or cPanel Backup Wizard), 2) Transfer cpmove-username.tar.gz to DirectAdmin&#8217;s \/home\/admin\/all_backups\/ directory, 3) In DirectAdmin, go to Admin Backup\/Transfer &gt; Restore, select the cPanel backup format, and click Restore. Why Web Hosts Are Switching to DirectAdmin DirectAdmin is a mature, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1674,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[],"class_list":["post-1675","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/posts\/1675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/comments?post=1675"}],"version-history":[{"count":7,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/posts\/1675\/revisions"}],"predecessor-version":[{"id":1729,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/posts\/1675\/revisions\/1729"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/media\/1674"}],"wp:attachment":[{"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/media?parent=1675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/categories?post=1675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelfree.com\/blog\/wp-json\/wp\/v2\/tags?post=1675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}