Migrate your website via DirectAdmin

In this article we explain how you can quickly and easily migrate your website from your previous provider to mijn.host via DirectAdmin.

Step 1: Create a backup

Please note: In this manual we use the latest version of DirectAdmin. The interface at your previous provider might look slightly different. The steps, however, remain the same.

First, create a backup of your website. Log in to the DirectAdmin environment you want to transfer, for example from your previous provider. Select a domain name you want to migrate (in case you have multiple domain names on DirectAdmin).

Click on Advanced Features in the left navigation bar and then on Create/Restore Backups.

You have now arrived at the Site Backup page, where you can select all the options you want to include in your backup. Our advice is to keep as much checked as possible. Think of it as a grocery list where you want to get as much as possible from the supermarket and not forget anything. When you are satisfied with what is checked, you can click on Create Backup.

 

Your backup is now being created. To stay informed of the progress, you can click on messages in the left bar.

As soon as the backup is ready, you can click on System Info & Files in the left bar and then on File Manager. Click on the backups folder, and from here you choose the most recent backup and download it.

Step 2: Restore backup

To restore your backup, connect to the FTP server of your new web hosting package. After making a connection, right-click and select Create and open folder.

In the screen you can now enter the name of the folder, enter backups here and click on OK.

Create this folder in the root (main directory) and not in a subfolder.

Next, drag the backup into the new backups folder and the upload will start automatically.

Step 3: Import backup in DirectAdmin

Log in to the DirectAdmin of your new hosting package. Click on Advanced Features in the left navigation bar and then on Create/Restore Backups. This time, choose Restore Backup.

Leave all options checked and click on Restore. Your backup is now being restored and it may take a while before it is completely finished. Please note that the database details might have changed after the migration. The correct new names can be found on the MySQL Management page, which can be found by clicking on the left bar under the Account Manager tab.

Database details

If you use WordPress or another website with a database, it is possible that your login details and database name have changed, causing your site to no longer work. You can solve this problem by editing the wp-config.php file. You can find the file in the File Manager, navigate to the folder domains > your-domain.com > public_html > wp_config.php. 

// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'xxxxxxxxxx' );

/** Database username */
define( 'DB_USER', 'xxxxxxxxxx' );

/** Database password */
define( 'DB_PASSWORD', 'xxxxxxxxxx' );

/** Databa
se hostname */
define( 'DB_HOST', 'localhost' );

You can leave the database hostname as localhost

The migration of your website is now complete. If you get stuck, you can always contact mijn.host support.  


Still have questions? Get in touch.