fbpx

How To Move Website From DirectAdmin to cPanel?

What is DirectAdmin and cPanel?

Both of its is a graphical user interface (GUI) control panel to manage your website for instance files, databases, domains, email and etc.

Table Of Contents

Steps to move website from DirectAdmin to cPanel

Download WordPress files to your device

  1. Input your host IP, username and password to connect to old server using FileZilla
  2. Go to the folder where your WordPress installed, it should be domains > yourdomain > public_html
  3. Download all the files and folders inside public_html to your device

Download database file to your device 

  1. Login DirectAdmin control panel with your username and password
  2. Go to ‘MySQL Management’
  3. From MySQL Management page, click ‘phpMyAdmin’ below Create new Database at the top of the page 
  4. You will be redirected to phpMyAdmin, input your database username and password to login
  5. Select the database you want to backup and Navigate to Export tab 
  6. Keep the Export method as Quick and format as SQL and click ‘Go’ button
  7. SQL file with extension of .sql will be downloaded to your device

Add domain in cPanel

Login to your cPanel and add your website domain

Upload WordPress file to server

  1. First start with create ftp account in cPanel
  2. Go to ‘FTP Accounts’ under Files section
  3. Input username, password, and it’s directory and click ‘Create FTP Account’. Directory normally is public_html.

Access to FTP server using FTP client, FileZilla

  1. Input the host IP, username and password you create in step above to connect to new server
  2. Upload WordPress files you downloaded just now in your device to public_html folder

Create database on server

  1. Go to ‘MySQL Databases’ in cPanel 
  2. Type a name for new database and click ‘Create Database’
  3. Create a database user by input username and password
  4. Add created user to created database

Import database to new server

  1. Click home icon and click ‘phpMyAdmin’ under DATABASES section
  2. You will be redirected to phpMyAdmin in new browser tab
  3. Select newly created database and go to ‘Import’ tab
  4. Upload downloaded sql file (gzip, zip or sql), uncheck partial import and click ‘Go’ button to import data into new created database

Update database connection

  1. Go back to ‘File Manager’ in cPanel
  2. Go to ‘public_html’ and edit ‘wp-config.php’ file




  3. Change the database name, username and password to the one that created as steps above
  4. Click ‘Save Changes’ and Close it

Update DNS

  1. Edit your domain DNS and point it to new server
  2. Now you can access to the website using new server IP

Still have questions? Contact us for server side problems.

Scroll to Top