Important 1: You must migrate 3 most important elements: files, databases and emails. You also have to change name servers of Your domain.
Migrate files.
This point is most easy, we have to move all files of Your website. Default location of website files ussually is /examlpe.com, /public_html or /public_html/examlpe.com and default location in Wimasco Panel is /domains/examlpe.com/public_html. All we have to do is to move them from first location to second one, we can do it in 2 ways.
First one is to simply use FTP client and download all your website filles to Your local PC, and then upload them to Wimasco Panel, but it will take long time if there are many files, and it is very important to use binary mode in Your FTP client.
Second one is faster and most recommended. We will use files manager in your current Hosting accounting and Wimasco Panel. First You have to create zip file of all Your files in your current account, this can be done by clicking “Backup” in main window of the account and then “Home Directory” under Download a Home Directory Backup, or by going to “File Manager”, right clicking on Your website directory (for example /public_html/examlpe.com) and selecting “Compress”, which will create zip file of Your files. Now You have to upload that file to /domains/examlpe.com/public_html by ftp or file manager in Wimasco hosting.
After it is done go to file manager in Wimasco Panel, find location of Your zip file and click extract, which should be next to other actions like copy or rename. In next window just confirm extraction, after that, all Your files should be visible in /domains/examlpe.com/public_html directory. Make sure that there will be only website files, if not delete rest of unneeded files and directories.
Migrate database.
Not all websites or CMS use databases, but most of them do, like WordPress, Drupal or Joomla. To migrate database, You have to download it first from your current hosting account and You can do it in 2 ways.
First one is to go to “Backup” in main window of your current hosting and then under “Download a MySQL Database Backup” click database that You want to download. Second way is by going to phpMyAdmin, click “Export”, click “Custom”, selecting database that You want to move, also find “Compression” option and select “zipped” and click “Go”. After that You should download Your database. If You don’t know which database Your website is using, You can check it in it’s config file, for example in WordPress it will be wp-config.php.
Now login to Wimasco Account, go to “MySQL Management”, “Create new Database”, fill in all fields to create Your new database, lets say for example Database Name and Database Username is user_mydb1 and password is pass235. Now go back to “MySQL Management”, under “Upload a Database Backup” and next to “Select Database” select database that You just created, in our example it will be user_mydb1. Now in select file, find zip file that You have downloaded from cPanel and click “Upload”. If it fails You can also try to import database in phpMyAdmin, just login to phpMyAdmin, go to, “Import” and select database file that You downloaded.
After Your database was imported, You have to tell Your website, that You have changed database name, user and password. You must find config file of Your cms or website, for example in wordpress it will be wp-config.php, in Joomla configuration.php and in Drupal it is sites/default/settings.php file, other cmses have their own config file. You must edit it and change old values to new one, in our example database name and user name is user_mydb1 and password is pass235.
Migrate emails.
Moving emails is very similar to moving files of Your website, there is just few differences. First create exactly same email in Wimasco Hosting as it was in your current hosting. In this tutorial we will move email [email protected] as an example.
Now go to https://wimasco.com/roundcube/ and login to Your newly created email, this will create directory structure of Your email on Wimasco host.
In our example of [email protected], all emails files are stored in /mail/example.com/office directory, and for Wimasco hosting it will be /imap/example.com/office/Maildir, all we have to do is move those files and directories from one location to second one. You can use ftp for this (just remember to use binary mode) or by file manager in same way as we already discussed at first chapter “Migrate files” of this tutorial.
After You move all Your files it is very important to delete all files starting with dovecot on Wimasco hosting, this will force dovecot to rebuild it’s index and after that we will see all our emails on new account.
Name Servers
After Your files, databases and emails are moved You have to change name servers of Your domain to ns1.wimascodataserv.world and ns2.wimascodataserv.world
After domain propagation is done (in most situations after few hours)
That’s all, Your website and emails should be working now on new Wimasco hosting. Of course there might be any problems during migration, but we are here to help, just make a ticket. Also remember that we can also move Your website to our web hosting anytime you need us.
Wimasco Web Services is offering reliable and cheap web hosting, prices are starting at just $4.99/month, for more details please check our plans.
Leave a Reply