At CP CLOUD HOSTING, we provide an automatic ‘one-click’ Migration Centre that supports migrations from many large hosts and popular control panels, available to all customers at no extra charge. However, sometimes a manual migration is necessary. Here’s a step-by-step guide for manually migrating your website to StackCP.
Steps for Manual Website Migration #
- Create the Hosting Package at StackCP
- This provisions the website on our platform, allows access over the temporary URL, and ensures FTP access.
- Download Website Files from the Old Provider
- Connect to your previous FTP account and download all files from the webspace to your local computer.
- Download Your Database
- Backup all databases the website uses. Use phpMyAdmin for this:
- Access phpMyAdmin:
StackCP > Manage Hosting > [select package] > phpMyAdmin - Select the database you wish to backup from the left-hand side menu.
- Click the ‘Export’ tab.
- Select ‘Quick’ under Export Method.
- Choose ‘SQL’ format.
- Click ‘Go’.
- Access phpMyAdmin:
- Backup all databases the website uses. Use phpMyAdmin for this:
- Upload Files to StackCP
- Use the FTP hostname displayed in the ‘Nameserver Check’ section to access StackCP FTP before changing nameservers or updating DNS.
- Create a Database at StackCP
- Go to
StackCP > Manage Hosting > [select package] > MySQL Databasesto create a new database. Note the hostname, database name/username, and password.
- Go to
- Import Your Database Backup
- Use phpMyAdmin to import the database:
- Access phpMyAdmin:
StackCP > Manage Hosting > [select package] > phpMyAdmin - Click the ‘Import’ tab.
- Browse your computer for the database export.
- Select ‘SQL’ format.
- Click ‘Go’. (If the import fails, try again with ‘Enable foreign key checks’ unchecked.)
- Access phpMyAdmin:
- Use phpMyAdmin to import the database:
- Update Website Configuration File
- Update the credentials in the configuration file according to the software used by your website:
- WordPress:
wp-config.php - Joomla:
configuration.php - Drupal:
sites/default/settings.php - Magento:
app/etc/local.xml
- WordPress:
- Update the credentials in the configuration file according to the software used by your website:
- Test the Website on Our Platform
- Use the Temporary URL provided in the control panel to test the website. For a more complete test, modify your hosts file to override the domain name on your PC, allowing you to visit your domain at StackCP while the rest of the internet still reaches the current website.
- Go Live
- Once tested, change the nameservers of the domain and optionally transfer the domain to StackCP.