How to Migrate a Website: Manual, Plugin, and cPanel (2025)

How to Migrate a Website: Manual, Plugin, and cPanel (2025)

Need to migrate your website?

By the end of this guide, you will learn different methods of migrating your website, from manual migration to using the cPanel.

Hereโ€™s what we will talk about here:

  • What website migration is
  • Manual migration
  • Automated plugin-based migration
  • cPanel migration

Ready? Letโ€™s get started.

What is website migration?

Website migration is moving a website from one environment to anotherโ€‰โ€”โ€‰due to changes to the domain name, hosting provider, or overall structure of the site.

It involves transferring the website’s data, files, and configurations to the new location without loss or deterioration of data security.

This process is significant enough to potentially impact the site’s indexability and visibility in search engines, so careful planning and execution are important.

How to Migrate a Website

Following a structured approach and using the appropriate tools is essential to ensure a smooth transition and maintain the website’s performance and SEO rankings.

Letโ€™s talk about the first method:

Method 1: Manual Migration

This process involves manually moving files and databases between servers, typically for smaller websites or when lacking hosting provider migration tools.

Manual migration usually requires downloading files via FTP, exporting the old server’s database, and then uploading the files and importing the database to the new server.

Step 1: Backup existing website

To back up your existing website, start by connecting to your current hosting server via FTP.

Then do this:

  • Download and install an FTP client (FileZilla)
  • Connect using the siteโ€™s FTP credentials (host, username, password, port)
  • Download your website files

Select all the files and folders > right-click on them > click on the download button to save them to your local computer.

โš ๏ธ Note: If youโ€™re not sure where your files are, theyโ€™re usually in the public_html or www directory.

After that, you also need to export your database.

The initial steps may vary on how to access the database, but usually:

  • Log in to phpMyAdmin
  • Select your websiteโ€™s database
  • Go to the export tab

Make sure the quick export method is selected before hitting the export button:

This will then download the SQL file into your computer.

Step 2: Transfer the files to the new hosting

You need to ready the new hosting provider first, though the actual steps depend on the web host youโ€™re using.

For example, Hostinger makes it easy with a guided setup:

select wordpress as the cms of your website

But anyway, what you have to do here is just the opposite of the previous stepโ€‰โ€”โ€‰upload the files and import the database.

For the database, you need to create a new database in the hosting environment first and then import the SQL file:

The point here is to duplicate what you have in the original site.

๐Ÿ‘‰ Related: Hostinger Review: Budget-Friendly Hosting Powerhouse?

Migrating your website can be a daunting task, but with the right web hosting provider, it becomes much more manageable.

This is where Hostinger comes into play, offering a reliable and efficient hosting solution.

Gain your customer's trust with Hostinger

Discover the Hostinger advantage for your WordPress site:

  • Enjoy a 99.9% uptime guarantee
  • Affordable pricing at just $2.49/month (use the code darrel10 to get a discount)
  • Global performance and reach with Hostinger’s optimized hosting platform

With Hostinger, youโ€™re not just getting a hosting service:

You’re investing in a partner dedicated to optimizing your websiteโ€™s performance and security.

Step 3: Reconfigure the website and update DNS records

This is like the finishing touches to the migration process.

If you want to do it manually, you can go to the wp-config.php file and update the database name, username, and password.

You can download the file using Filezilla and then upload the edited file:

Locate the wp-config.php file on the root folder

โš ๏ธ Note: Check and update any hardcoded file paths to reflect the new serverโ€™s paths.

The next part is to update your DNS settings.

Your web hosting provider should have DNS settings where you can update the nameservers or A records to point to the new hosting serverโ€™s IP address.

It looks like this on Hostinger:

This is importantโ€‰โ€”โ€‰be aware that DNS changes can take up to 48 hours to propagate, though in some cases, itโ€™s faster than that.

After that, make sure to test and monitor your website after migration, especially the performance and functionality. ๐Ÿ‘

Method 2: Automated Plugin-Based Migration

Websites using content management systems like WordPress can use plugins that automate the migration process and simplify the transition.

These plugins can handle the transfer of files, databases, and even configurations specific to the CMS so you donโ€™t have to do most of the work.

Letโ€™s use Duplicator as an example:

Step 1: Install and activate Duplicator

To install and activate Duplicator, log in to your WordPress dashboard.

Then navigate to plugins > add new > search for the plugin > click the install now button:

Search for Duplicator in the Add Plugins Page

Donโ€™t forget to activate the plugin once itโ€™s installed.

Step 2: Create a new package

The key here is to create a package of your site that you can upload on the new host.

Navigate to the plugin settings by going to Duplicator > Packages and clicking on the create new button:

Navigate to the Packages Page under the Duplicator Section

Follow the on-screen instructions to create a package, which includes your site’s files and database.

Once the package is built, download both the archive file and the installer.php file to your computer.

Step 3: Upload to the new host and run the installer

To upload to your new web host and run the installer, connect to your new hosting account using an FTP client like FileZilla.

Upload both the archive file and the installer.php file to the root directory (often public_html) of your new hosting account.

In your web browser, go to https://yournewdomain.com/installer.php and follow the steps provided by the installer to deploy your site on the new host. ๐Ÿ™‚

Donโ€™t forget to test and clean up your site by thoroughly testing your site after the migration to ensure everything works as expected.

โš ๏ธ Note: After the migration, you can use the Duplicator installer to remove installation files and clean up any temporary files.

Method 3: cPanel Migration

For websites hosted on servers with cPanel, the migration can often be performed through cPanel’s built-in tools.

This method involves generating a full backup of the website on the old server and then restoring this backup on the new server.

โ›” Warning: This method only works if both web hosting providers support cPanel. Some managed hosting providers donโ€™t use cPanel.

Step 1: Generate a full backup on the old server

To generate a full backup on the old server, log into cPanel by accessing the cPanel dashboard on your old hosting account.

Navigate to the “Backup” or “Backup Wizard” option within the cPanel dashboard.

Select the option to generate a full backup, choose the home directory as the destination, and enter your email address to be notified when the backup is complete.

It looks like this:

Once the backup process is complete, download the generated backup file to your computer.

๐Ÿ‘‰ Related: NameHero Hosting Review: Are the High Costs Worth It?

Step 2: Restore the backup on the new server

Check for compatibility by verifying that the new server’s cPanel version and PHP settings are compatible with your website’s requirements.

To restore the backup on the new server, access the backup feature again in the cPanel, and this time, go to the restore options.

Browse for the file:

Upload the backup file you downloaded from the old server and select the appropriate options to restore files, databases, and other components included in the backup.

Step 3: Update DNS settings

Since the cPanel method doesnโ€™t include updating the DNS settings, you need to manually do this yourself.

The steps are similar to what you have to do in the first method, simply go to the DNS settings of the host youโ€™re using now.

Update your domain’s DNS records to point to the new server’s IP address after the restoration is complete.

As always, thoroughly test your website to ensure that all features and functionalities are working correctly on the new server.

Migrating Your Website

Successfully migrating a website requires meticulous planning, the right tools, and careful execution to ensure data integrity and minimal downtime.

By choosing the most suitable migration method, you can streamline the process and mitigate potential risks.

Ultimately, a well-executed website migration not only preserves your site’s functionality and SEO rankings but can also open up new opportunities for growth and performance.

Wrapping up, it’s time to take your web design to the next level.

These template kits are created to provide you with all the tools you need to create a stunning, professional website with ease.

get full access to all premium template kits

Secure lifetime access to all premium Elementor template kits:

  • Get lifetime access to all premium template kits designed for Elementor
  • Complete with 2 years of dedicated support
  • Only for $99โ€‰โ€”โ€‰that’s already for the lifetime access

Take advantage of the ease and elegance of this offer and transform your web design experience today.

Alan Anthony Catantan
Alan Anthony Catantan

Welcome to Darrel Wilson's corner of the web! While he's the genius behind this blog and YouTube channels, I'm the fun sidekick ensuring everything's in tip-top shape. From writing articles to video magic, we deliver content with a splash of fun! ๐Ÿš€๐Ÿ“๐ŸŽฌ

Related Posts
1 Comment

Everything is very open with a really clear clarification of the issues. It was definitely informative. Your site is extremely helpful. Many thanks for sharing!

Leave a Reply

Your email address will not be published.

Prove your humanity: 0   +   10   =  

[]