If you create WordPress websites on a regular basis, then developing a WordPress website on local server will save you a lot of your precious time.
Before you migrate your WordPress website from local server to live server, you will require a good web hosting platform that supports WordPress. One such hosting platform is Cloudways. It is a featured-filled cloud hosting platform that enables novices, bloggers, designers, developers, and agencies to efficiently manage and deploy applications on Vultr, Google Compute Engine, DigitalOcean, Amazon EC2 servers, Kyup and Linode.
In this tutorial, I am going to tell you how you can move your WordPress website from localhost to Cloudways by using the WordPress Duplicator plugin. The Duplicator plugin provides WordPress administrators the ability to migrate WordPress, copy or clone a site from one location to another. Now, you can forget your worries about images, backing up your database, plugins, themes, and moving them all separately because the Duplicator can do everything easily for you 😉
So, if you are a newbie, then this plugin can help you to migrate WordPress site from localhost to Cloudways server easily.
Let’s get started, here is what you need to do.
- First thing First, What you Need
- Download and Install plugin on Local Site
- Create a New Package
- Moving Website From Local Server to Cloudways
- Upload Installer and Archive File to Live Site
- Install your Site on Cloudways Server
- Testing the Live Site
First thing First, What you Need
To migrate WordPress site from a local server to a live server, you need to have two things on your system. Firstly, you must have a local server setup on your computer. I assume that you have already created a website on local server. Secondly, you should have a good web hosting plan that supports WordPress such as Cloudways.
Download and Install plugin on Local Site
From your WordPress admin panel, navigate to Plugins >> Add New. Search for WordPress Duplicator plugin from the top right search bar. As soon as you find it, click on the Install Now button.
After successful installation of the plugin, click on the Activate option. For further reference, check out the image below.
After activating the plugin, you will be able to see the Duplicator menu on the left side of your WordPress dashboard.
Create a New Package
After activating the plugin, you will see the Duplicator menu on the left side of the WordPress dashboard. Go to Duplicator >> Packages and then click the Create New button to build a new package.
Following are some of the requirements that you need to fulfill.
Click Next to move on.
Click Build to move on.
When you are done with the setup, you will receive two files, Installer and Archive. Download both files on your desktop.
Now, let’s move to the live site.
Moving WordPress Website From Local Server to Cloudways
First thing first, Login to your Cloudways account.
Then, go to your server and get the FTP Master Credentials.
Upload Installer and Archive File to Live Site
Next, upload the installer and archive files to your live server. You will need FileZilla to do this using FTP.
Navigate to your site via FTP. Add Host, Username, Password, and Port.
Then go to the applications folder.
Then, get into your specific application and navigate to your public_html folder and upload the installer and archive file from your Desktop to the folder. It will take a couple of minutes because the archive files are large in size.
NOTE: Before you go ahead with uploading archive files, make sure that you delete the wp-config file via public_html.
Install Your Website on Cloud Server At Cloudways
Now, it’s time to run the installer setup on the live server. To do this, you need to go your website address and add the installer.php.
In my case, the address is http://test.cloudways.com/installer.php
In this section, you need to follow these following steps.
Step 1: Extract Archive
Then, click “Next” to move on.
Step 2: Database Setup
You can get Database Setup details in the Application >> Application Management Tab. To get further reference, check out the image below.
Get satisfied once you get the Success status for both, ‘Server Connected’ and ‘Database Found’ fields.
Now, click Next to move on.
The Duplicator actively performs with EMPTY databases only. You can enable the action “Connect and Remove All Data” radio button to remove all tables and or create a new database.
For further reference, check the image below,
Step 3: Data Replacement
Click Next to move on.
Step 4: Test Site
Once done with everything to transfer your WordPress website from localhost to Cloudways, this is the final step that is essential to be done. You will have to Test your website. For that, the duplicator will ask you to follow few important steps.
These steps are stated as below,
Save Permalinks: Click on the “Save Permalinks” button and you will be automatically directed to your live site. Here, you can change the permalink settings as per your requirements.
Test Site: Click on the “Test Site” button and it will open the front-end of your live site. Here, you can test everything is in working condition or not.
Security Cleanup: Lastly, ‘Security Cleanup’ allows you to clean all the installation files and other files created by the Duplicator plugin during the transfer process. Before cleaning up, make sure that your website is properly copied and is working efficiently.
Now it’s time to move on to the live site.
Testing the Live Site
In most cases, all plugins are deactivated when you move WordPress site from localhost to a Cloudways server. To reactivate all the deactivated plugin, navigate to Plugin >> Installed Plugin, select all and activate.
Also, it will be in your best interest if you follow the recommended settings of W3TC after successful migration of your site from Localhost to Cloudways live server. The recommended settings are optimized to enhance speed of your WordPress websites.
The aim of the above article is to educate users how they can move their WordPress website from localhost to Cloudways. Keep in mind, the above method is not recommended for transferring content from other hosting providers to Cloudways. If you want to do so, then we recommend users to use the WordPress Migration Plugin.
Learn How to Migrate WordPress website using WordPress Migration Plugin in just a few clicks.
Congratulations! You have successfully tested and moved your WordPress website from a localhost to Cloudways – A Managed Cloud Hosting Platform.
Check out the image below. It shows how your website is now live and running up on the Internet.
That’s all there is to it! As you can see how easily we moved your WordPress website from a localhost server to a hosting platform such as Cloudways cloud-based server. All thanks to the amazing WordPress Duplicator Plugin. If it weren’t for WordPress, it would sure be a crazy hassle. But with just a few clicks, all your website content is successfully transferred from a localhost to cloud server.
If you find any problem while transferring your website content, don’t hold back… Feel free to ask us and do leave your questions in the comment section provided below. I would love to help you out with your queries.