Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Move a Website From cPanel to DirectAdmin

This guide explains how to move a hosting account from a cPanel server to a DirectAdmin server, in simple steps.

Backups and Migration2 min read17 steps4 screenshots

What are cPanel and DirectAdmin?

A control panel is a website where you manage your hosting. cPanel and DirectAdmin are two popular ones. They do the same job, but they look different. Their backup files are also different, so you cannot always upload one into the other without care.

The easiest way is to move your files, database and email by hand. DirectAdmin can also restore a cPanel backup on many servers. This often needs the server owner to enable it. Ask Hostvento support whether that is possible for you.

Before you start

  • Have a login for both accounts.
  • Do not cancel the old account until the new one works.
  • Warning: Do not change your DNS yet. DNS is the phone book that tells browsers where your site lives. Change it last.

Steps

Part 1: Back up from cPanel

  1. Log in to cPanel.
  2. Open File Manager, select everything in public_html and click Compress. Pick Zip Archive.
  3. Download the ZIP file.
  4. Open phpMyAdmin, click your database and choose Export. Download the .sql file.
  5. Write down any email accounts you use. Download any important mail if needed.

Part 2: Set up DirectAdmin

  1. Log in to DirectAdmin.
    Screenshot: Log in to DirectAdmin.
  2. Open File Manager and go to domains/yourdomain.com/public_html.
  3. Click Upload files and add your ZIP file.
  4. Select the ZIP file and choose Extract.
  5. Go back to the main menu and open MySQL Management.
  6. Click Create new Database. Choose a name, user and password.
  7. Open phpMyAdmin from the database page, choose Import and select your .sql file.
  8. Edit your site settings file. For WordPress this is wp-config.php. Enter the new database name, user and password.
  9. Create your email accounts under E-Mail Accounts.

Part 3: Test and switch

  1. Test the site on the new server. Ask Hostvento support how to preview before DNS changes.
    Screenshot: Test the site on the new server. Ask Hostvento support how to preview before DNS changes.
  2. When all is well, update your nameservers or DNS records. Your welcome email lists the new details.
  3. Wait up to 24 to 48 hours for the change to spread.
Tip: Keep the old account for a week or two as a safety net.

Quick recap

  • cPanel and DirectAdmin backups differ, so moving by hand is safest.
  • Download files and the database from cPanel.
  • Upload and import them in DirectAdmin, then fix the settings file.
    Screenshot: Upload and import them in DirectAdmin, then fix the settings file.
    Screenshot: Upload and import them in DirectAdmin, then fix the settings file.
  • Recreate email accounts.
  • Change DNS last.