Migrating to hosticko from a non-cPanel host should be a breeze - we have a number of tools to help with the process.
If your website uses one of the popular Content Management Systems (CMS) like WordPress, Joomla or Drupal then you can take advantage of our Software Application Installer - Softaculous. This tool offers site import features that can connect to your current site and pull a full clone of it to your new hosticko account.
Importing your site with Softaculous - link opens in a new window
If however, your CMS isn't supported you'll need to perform a manual migration as described below.
If you also have your email with your current host we have an email sync tool available through our client area, which will allow you to copy over and synchronise your email accounts to new cPanel email accounts hosted on our servers.
Manual Migration
Most websites comprise a combination of:
- Files - these include things like HTML files, php scripts, images (jpg, gif, png etc), CSS files and so on.
- Databases - these are usually required for most modern websites based on Content Management Systems like WordPress, Joomla, Drupal, forum systems, and eCommerce applications. hosticko offers MySQL database services, which is the most commonly used database platform for Linux based web hosting.
The trick in a successful move is getting all of this stuff transferred without losing anything along the way.
If you don't already have a hosticko cPanel account, then now is the time to purchase one! Head over to our website (link opens in a new window) and sign up for one of our plans.
1. Backup your files
Most hosting providers will offer you a way of backing up your website's files. This will often mean that you end up downloading a file with a zip, tar, tar.gz, or tgz extension to your computer. The file may be quite large and may take some time to download, so be patient. Please also ensure this process completes successfully - your current host may limit your disk space and if it fills up before the zip file is fully created you'll end up with a corrupt backup. If you find this happens you'll need to download the files to your local computer using an FTP client as described below.
If your hosting provider does not offer you any such tools, then you will have to connect to your webspace using a suitable FTP application. Your website files will normally be located in a directory called public_html or htdocs. Just download the entire directory to your local computer. Make absolutely certain, you have copied everything because a single missing file could mean your site won't work once transferred. Once you have downloaded all of the files, then pack them into a zip or tar archive.
If you have to use the FTP method, then please make sure that your FTP software is set to show hidden files (on Linux, hidden files all have names that begin with a dot e.g. .htaccess)
2. Backup your databases using phpMyAdmin
Most websites only require a single database, but just in case yours has more, be sure to backup each one of them.
Again, most hosting providers (I would say all here as it really is essential) offer a way for you to dump (this sounds kind of drastic, but it leaves your existing database unaffected - it just takes a copy) your databases to an export file (usually with an SQL extension).
Quite often, the provided tool is called phpMyAdmin, a popular web-based MySQL management tool. Once you have selected your database in phpMyAdmin, just click the Export tab (as shown below), and go for the Quick Export Method. In the vast majority of cases, you can just hit the Go button, and the file you download will be perfectly suitable for importing into your new Krystal account. So for now, let's just hit Go and download the dump file.
3.Upload your files to hosticko
There are a couple of options here.
a.) Archive file less than 250Mb
If your file backup archive is less than 250Mb then you can use the file upload function that is part of the File Manager facility built into your cPanel account. Log into your cPanel account using the temporary connection details given in your Welcome email. Once logged in, click on the File Manager icon in the Files section.
You will be prompted to decide which directory you wish to open, and whether or not you want to Show Hidden Files. Choose Home Directory and Show Hidden Files as shown, then click the Go button.
Once File Manager is open, make sure your home directory is selected and then click the New Folder button to create a temporary folder.
Note: Folder and Directory are interchangeable terms - for some reason the technology industry can't make its mind up which to use!
Create a new directory (for example, create a directory called my_restore_folder) by entering a name in New Folder Name. Click Create New Folder.
Select the newly created folder from the list of folders on the left. Then, click on the Upload button.
The file upload screen will now appear. Leaving all the default settings, click the Browse button and choose the backup file from your computer's local storage. Once you select the file it will immediately begin uploading. Once the file has finished uploading return to the main File Manager screen.
Continue to step 4.
b.) Archive file bigger than 250Mb
For bigger archives, you'll need to use FTP software to connect to your new hosticko hosting and upload the archive file. We have a separate guide on using FileZilla to connect to hosticko.
Using your FTP software create a temporary directory in your home directory and upload into it the packed zip, or tar.gz archive you created in Step 2. Once you have uploaded your file, continue to Step 4.
Using File Manager, click the folder (1) and the backup file (2) you just uploaded, and click the Extract button (3).
4. Extract the Files
Using File Manager, click the folder (1) and backup file (2) you just uploaded, and click the Extract button (3).
Once the files have been unpacked, you need to move them into your public_html directory (or the physical root of your addon domain if you are restoring an addon domain). The extracted files may have been placed directly into your temporary directory or into a sub-directory. Whichever, locate your website files, and then click the Select all (1) tick box. Then click the Move File button (3).
Make sure the path is set to the public_html directory (as shown - 1), or to the physical root of your addon domain. Then, click the Move Files button (2) to finally move your files into their new home! Remember to start your path with a forward slash as shown.
5. Importing your databases
To import your database, you can use the same tool that was used previously to create the SQL backup - PHPmyAdmin
To do so, go to cPanel -> PHPMyAdmin, then select the database from the left hand menu. If you haven't yet created the database, you will need to do so first of all (which can be done via the cPanel -> MySQL Database Wizard)
Once you have selected the database from the left-menu, you can use the 'Import' option, selecting the respective file from your machine. Click go, and your database will be imported.
Adjusting your web application's configuration files
Most websites that use a database have a special configuration file that stores the details of the database server location, database name, and username. It is likely you will have changed the database name and/or database username once you have restored your database into your cPanel account.
Therefore it is usually necessary to update the configuration of your web applications to connect to the database under its new name, and perhaps via a new username/password.
While we can't give you an exhaustive guide to reconfiguring every system out there, here are the locations of some common configuration files.
WordPress - wp-config.php Joomla! - configuration.php Drupal - sites/default/settings.php Magento - app/etc/local.xml osCommerce - includes/configure.php SMF Forums - settings.php
Once you have made these changes, your application should continue to work normally. You can test your newly copied website before you change your domain names nameserver settings by following our guide How do I view my website to test it before changing my name server DNS? (link opens in a new window).