
Jetpack Backup is a premium WordPress migration plugin that lets you back up, migrate, or recover your website to a specific date or time. This guide explains how you can migrate your WordPress Site to Vultr using the Jetpack Backup plugin.
Before you begin, you need to:
This guide uses example information:
You should replace these example values with your information.
Connect to the new Vultr Marketplace WordPress server with SSH and create a sudo user.
Change the web root directory permissions to 777, which allows Jetpack to write new files. You'll tighten the permissions later when you secure the site in section six.
Grant the web server full permissions to all files in the web root directory.
Using a web browser, log in to your old, existing WordPress site.
On the left navigation menu, navigate to Plugins.
Click Add New
Enter the keyword "Jetpack" in the search field.
Click Install to add the plugin.
Click Activate to enable it on your WordPress site.
Locate and click the Jetpack plugin on the left navigation menu.
Select your WordPress Site category, and finish setup of the Jetpack plugin.
When ready, navigate to My Jetpack.
Locate the Backup option and click Purchase.
Click Add Jetpack Backup to redirect to the WordPress.com checkout page.
Enter your credit card or PayPal credentials, and confirm payment for your Jetpack Backup plan.
Your Jetpack Backup plan is now active, and backing up your website in the background.
Using a web browser, log in to your WordPress.com account.
Navigate to My Sites.
Click Switch Site.
Choose your WordPress site from the list.
On the left navigation bar, navigate to Settings and click General.
Scroll down to the Site tools section, and click Clone.
Verify your WordPress site information, and click Continue.
Enter your site title in the Destination site title field.
Enter your full domain URL, such as https://www.example.com, in the Destination site URL field.
Click Continue.
Keep the Credential Type as SSH/SFTP.
Enter your Vultr Marketplace WordPress server's IP address in the Server Address field.
Keep 22 as the Port Number.
Enter the sudo user you created earlier in the Server username field and its associated password in the Server password field, and click Save.
Enter /var/www/html/ in the Destination WordPress Path field.
Select Clone current state to use the latest Jetpack backup of your WordPress site.
Click Begin Cloning to start the migration process.
The migration process takes a few minutes to complete depending on your site's size. You can follow the progress from the cloud.jetpack.com Activity Log.
When you receive a Your site has been successfully cloned alert, the data migration is complete.
Log in to your DNS provider and change your fully-qualified domain name to point to the IP address of the new Vultr Marketplace WordPress server. The exact steps depend on your DNS host. Use this guide if you use Vultr DNS.
Make sure your DNS has fully propagated to the new address before proceeding with the next steps. You can use a tool like dnschecker.org to check the status.
By default, the Vultr Marketplace WordPress server uses a self-signed SSL/TLS certificate. In this step you'll use the Certbot Let's Encrypt application to create a new SSL/TLS certificate and configure the site for HTTPS.
Back up the original wordpress_https.conf Nginx configuration file.
Using a text editor, edit the wordpress_http.conf file.
Find the following section.
As you can see in line 4 above, the server_name directive is using _ as a wildcard. Change that value to your server's fully-qualified domain name, as shown in the example below.
Save and close the file.
Request a new Let’s Encrypt SSL certificate. Replace www.example.com with your actual domain name.
Enter your email address, and allow automatic redirects when prompted.
Test that Certbot auto-renews your SSL Certificates upon expiry.
If the above command runs without errors, Certbot will renew your SSL certificates every 90 days before it expires.
Restart Nginx to save changes.
Using a web browser, test HTTPS access on your WordPress site.
You should find a Connection is secure padlock sign in the web browser URL bar.
To secure your WordPress site from direct IP visits, edit the main Nginx configuration file.
Add the following configuration lines within the http { section.
All requests to your IP are now redirected to your configured domain name.
To avoid random installation risks, delete the WordPress installation script.
To limit write access to your web root directory, set the file permissions to 755 for directories, and 644 for files.
Now, you should be able to access your new WordPress site.
Using a web browser, visit your WordPress site, and confirm that it loads well.
Log in to your WordPress administrator dashboard.
On the left navigation bar, navigate to Tools and select Site Health.
Next to Status, click Info.
Scroll through the list of options, and toggle Server to verify that the WordPress system information corresponds with your Vultr WordPress server packages.
To fine-tune and maximize the full potential of your WordPress server, please visit the following guides.
0 Comments
Be the first to comment and share your perspective with the community.