How to Migrate Your WordPress Website to Another Web Hosting Provider

Photo of author
Written By Stephen


We all know that running a successful website requires a reliable web hosting provider that can keep up with our ambitions. If you’ve ever found yourself frustrated with slow loading times, lackluster customer support, or rising costs with your current hosting provider, then it might be time to consider making a change.

In this step-by-step guide, we’ll walk you through the process of migrating your beloved WordPress website from your current web hosting provider to another. Whether you’re a seasoned website owner or a beginner, we’ve got your back!

So, grab a cup of coffee, take a deep breath, and let’s get started!

Common Reasons for Migrating a WordPress Website

Making the decision to migrate your WordPress website from one hosting provider to another is a big step, and it’s essential to understand the reasons that might motivate you to take this action. Let’s explore some of the common scenarios that drive website owners to make this choice:

1. Poor Performance

Slow-loading websites not only create a poor user experience but also impact your search engine rankings. If you’ve noticed a decline in website performance, it could be a sign that your current hosting provider’s server resources are struggling to handle your site’s demands. By moving to a reliable hosting company like Cloudbase, with its high-performance servers and optimized infrastructure, you can bid farewell to sluggish loading times and provide your visitors with a seamless browsing experience.

2. Unpredictable Downtime

Downtime can be a website owner’s worst nightmare. If your current hosting provider frequently experiences downtime or fails to address server issues promptly, it’s time to consider alternatives. With Cloudbase’s robust infrastructure and proactive monitoring, you can enjoy the peace of mind that comes with minimal downtime and uninterrupted website availability.

3. Scalability and Growth

As your website gains traction and attracts more visitors, you’ll need a hosting provider that can accommodate your growth. If you find that your current plan restricts your ability to scale up or lacks the necessary resources to handle increased traffic, migrating to Cloudbase’s flexible hosting plans can be the perfect solution. With the ability to easily upgrade your resources as your website expands, you can focus on growing your website while Cloudbase takes care of the rest.

4. Lackluster Customer Support

Good customer support is the backbone of any successful hosting service. If you’ve been grappling with slow or unresponsive customer support from your current provider, it’s time to switch to a host that truly values its customers. Cloudbase takes pride in its experienced support team to promptly address your queries and assist you with technical issues, ensuring you’re never left stranded.

5. Cost-Effectiveness

We understand the importance of managing your website within a budget. If your current hosting costs are skyrocketing without any tangible benefits, migrating to Cloudbase can be a financially savvy move. Cloudbase offers competitive pricing plans without compromising on performance, providing you with value for your money.

6. Better Features and Tools

Sometimes, you may outgrow the features and tools offered by your current hosting provider. By migrating to Cloudbase, you gain access to a wide range of cutting-edge technology, and user-friendly interfaces that enhance your website management experience.

Fortunately, you don’t have to endure these problems anymore. With Cloudbase by your side, your WordPress website is in safe hands. Say hello to improved performance, exceptional support, and a hosting experience like no other. If you are ready to make a change to your website, head over to the next section to begin the migration process.

Preparing for the Migration

Before we jump into the migration process, it’s crucial to make sure you’ve got all your bases covered. Proper preparation ensures a smooth and secure migration of your WordPress website, whether to Cloudbase or another web hosting provider. In this section, we’ll guide you through the essential steps of backing up your database and website files.

Step 1: Backup Your WordPress Database

  1. Log in to your current hosting provider’s control panel (e.g. cPanel) dashboard.
  2. Navigate to the phpMyAdmin tool, which allows you to manage your website’s database.
  3. Select the database associated with your WordPress website.
  4. Once inside the database, click on the “Export” option from the top menu.
  5. Choose the “Quick” export method and the SQL file format, then click “Export” to start the backup process.
  6. phpMyAdmin will now generate a downloadable backup of your WordPress database. Save it to your computer for safekeeping.

Step 2: Backup Your WordPress Website Files

  1. Download and install an FTP client such as FileZilla if you don’t already have one.
  2. Open FileZilla and enter your current hosting’s FTP credentials (FTP host, username, password, and port).
  3. Once connected, navigate to the root folder of your WordPress website on the right-hand side panel.
  4. On the left-hand side panel, navigate to a folder on your computer where you’d like to save the backup.
  5. Select all the files and folders in your website’s root directory on the right-hand side and drag them to the backup folder on the left-hand side. This action will initiate the transfer process, and all your website files will be safely backed up to your computer.

You’ve now taken a crucial step in securing your website’s data before the migration. These backups act as a safety net in case anything unexpected happens during the migration process. Now, you can proceed with confidence to set up your new hosting environment.

Setting Up the New Host Server

Now that you’ve backed up your WordPress database and website files, it’s time to prepare your new hosting environment. In this section, we’ll guide you through the steps of creating a new SQL database, which will serve as the foundation for your WordPress website.

Step 1: Accessing cPanel

  1. If you are an existing customer of Cloudbase, you can first log in to your hosting account to access cPanel.
  2. Look for the cPanel icon or link in your account dashboard and click on it. This will take you to cPanel.

Step 2: Creating a New SQL Database

  1. In cPanel, scroll down to the “Databases” section and click on “MySQL Databases”
  2. In the “Create New Database” section, enter a unique name for your new database and click “Create Database”. Remember this name; you’ll need it later during the migration process.

Step 3: Creating a Database User

  1. Scroll down to the “MySQL Users” section in cPanel.
  2. Enter a username and a strong password for your new database user. You can use the password generator to create a secure password.
  3. Click on “Create User” to set up the new user.

Step 4: Adding User to the Database

  1. After creating the user, scroll down to the “Add User to Database” section in cPanel.
  2. Choose the newly created user from the dropdown menu and select the database you created earlier.
  3. Click on the “Add” button to assign the user to the database.

Step 5: Updating wp-config.php

  1. With the database details ready, you’ll need to update the wp-config.php file in your WordPress backup.
  2. Open the wp-config.php file using a text editor.
  3. Look for the following lines of code:

  1. Replace ‘your_database_name’, ‘your_database_user’, and ‘your_database_password’ with the details of the new database you created in the earlier steps.
  2. Save the changes to the wp-config.php file.

Great job! You’ve successfully set up a new SQL database and user, and your WordPress backup is now tailored to your new hosting environment. The groundwork is now established, and we’re getting closer to making your website migration a success.

Uploading Your WordPress Website

With your new SQL database ready and wp-config.php updated, it’s time to move your WordPress website to its new home. In this section, we’ll walk you through the process of uploading your website files to the new host server.

Step 1: Connect to Your New Server via FTP

  1. Launch your FTP client, such as FileZilla, on your computer.
  2. Enter your FTP credentials (FTP host, username, password, and port) into the appropriate fields to connect to the server.

Step 2: Navigate to the Public Web Directory

  1. On the left-hand side of FileZilla, locate the folder where you saved your website files during the backup process.
  2. On the right-hand side, navigate to the public web directory (e.g. public_html) of your hosting account’s file system.

Step 3: Upload Your Website Files

  1. Select all the files and folders from your website backup on the left-hand side.
  2. Drag and drop them into the public web directory of your hosting account on the right-hand side.
  3. Sit back and let FileZilla do its magic – the files will start uploading to your new hosting space.
  4. Once the upload is complete, head back to cPanel and navigate to the file manager to ensure that all your website files are present in the public web directory.

In the next section, we’ll show you how to restore your WordPress database backup to the new SQL database you created earlier. This is a crucial step to ensure that your website’s content and settings are fully transferred to the new hosting server.

Restoring the Database Backup

Now that you have successfully uploaded your WordPress website files to your new hosting account, let’s bring your website to life by restoring the database backup you created earlier to the new SQL database. This step ensures that all your content, settings, and configurations are seamlessly transferred to your new hosting server.

Step 1: Accessing phpMyAdmin

  1. Log in to your new hosting provider’s cPanel dashboard.
  2. Navigate to the “Databases” section and click on “phpMyAdmin”

Step 2: Select the New Database

  1. In phpMyAdmin, locate the list of databases on the left-hand side.
  2. Click on the database you created earlier for your WordPress website. This will open a new window displaying the database’s structure.

Step 3: Importing the Database Backup

  1. In the new window, click on the “Import” tab from the top menu.
  2. Click the “Browse” button and select the SQL database backup file you saved earlier during the backup process.
  3. Ensure that the “SQL” format is selected, then click the “Import” button to start the import process.
  4. The import process may take a few moments, depending on the size of your database. Once it’s complete, phpMyAdmin will display a success message confirming the database restoration.

Congratulations! You’ve successfully restored your WordPress database. Your website’s content and settings are now fully migrated to the new hosting server, and you’re one step closer to launching your website from its new home.

Updating DNS Records for Your Domain Name

Now, it’s time to make your website accessible to the world by updating the DNS records for your domain name. This step ensures that when visitors type your domain name into their browsers, they’ll be directed to your new server.

Step 1: Locate Your DNS Settings

  1. Log in to your domain registrar or the platform where you manage your domain’s DNS settings.
  2. Navigate to the DNS management section for the domain you want to update.

Step 2: Update A Records

  1. Look for the existing “A” (Address) records in your DNS settings. These records specify the IP address associated with your domain.
  2. Edit the existing “A” records and replace the old IP address with the IP address of your new hosting server.
  3. Save your changes within the DNS management platform.

Step 3: Wait for DNS Propagation

DNS propagation is the process of updating DNS records across the internet. While DNS changes typically propagate quickly, it might take up to 24 to 48 hours for the changes to take full effect. During this time, some users may still see your website on the old hosting, while others will see it on the new hosting.

Step 4: Test Your Website

Once DNS propagation is complete, it’s time to test your website. Open your web browser and enter your domain name. If everything went smoothly, your website should now be live on the new server, welcoming visitors from its new home!

Step 5: Monitor and Troubleshoot (if needed)

Keep an eye on your website’s performance and functionality after the migration. In rare cases, you might encounter minor issues due to the migration process. If you encounter any difficulties, feel free to contact our support team for assistance in troubleshooting and resolving any potential concerns.


Congratulations once again! You’ve completed the migration of your WordPress website from its old home to its new and improved hosting environment. We hope this step-by-step guide has been instrumental in making your migration journey smooth and easy.

At Cloudbase, we believe in providing top-notch hosting solutions that empower website owners like you to achieve their online goals with confidence. Our commitment to affordability, reliability, and exceptional customer support is what sets us apart from the rest.

By migrating your website to Cloudbase, you’ve unlocked a world of possibilities. With our high-performance servers, seamless scalability, and friendly support team, your website is now in safe hands, ready to impress visitors and conquer new heights.

If you are already a Cloudbase customer, we thank you for choosing us as your trusted hosting partner. Your satisfaction and success are our utmost priority, and we’re committed to providing you with the best hosting experience possible.

If you ever need assistance, have questions, or simply want to say hello, don’t hesitate to reach out to our support team. We’re here to help and make your hosting journey with Cloudbase a memorable one.

Leave a Comment