HOW TO MIGRATE YOUR WEBSITE TO YOGI’S VPS

Migrating your website to Yogi’s VPS is a straightforward process, whether you’re using cPanel, WordPress plugins, or a manual migration method. This guide outlines each approach so you can choose the one that works best for your setup.

Preparing for Migration

1. Backup Your Existing Website

Before migrating, create a complete backup of your website to ensure no data is lost during the process. This includes:

  • Website files (e.g., themes, plugins, images).
  • Database.

2. Check Your Domain’s DNS Settings

  • Update your domain’s DNS records to point to Yogi’s VPS after the migration. If you want to keep downtime to a minimum, perform the DNS update after testing the migrated site.

3. Set Up Hosting on Yogi’s VPS

  • Log in to your Yogi’s VPS account.
  • Ensure you have a hosting plan set up for your domain. If not, create an Addon Domain in cPanel for the site you’re migrating.

Migration Methods

Method 1: Migrate Using cPanel (Full Backup Restore)

Export a Full cPanel Backup

  1. Log in to cPanel on your current host.
  2. Go to Backup Wizard under the “Files” section.
  3. Select Backup, then choose Full Backup.
  4. Save the backup file to your computer.

Import the Backup to Yogi’s VPS

  1. Log in to cPanel on Yogi’s VPS.
  2. Go to Backup Wizard and select Restore.
  3. Upload the backup file. This will restore your files, database, email accounts, and other settings.

Test Your Site

  • Before updating DNS, access the site via the temporary URL or IP address provided by Yogi’s VPS to ensure everything works.

Method 2: Migrate Using WordPress Plugins

Recommended Plugin: All-in-One WP Migration

  1. Install the Plugin on Your Existing Site:
    • Log in to your WordPress dashboard and go to Plugins > Add New.
    • Search for and install All-in-One WP Migration.
  2. Export Your Site:
    • Go to All-in-One WP Migration > Export.
    • Export your site as a file and download it to your computer.
  3. Set Up WordPress on Yogi’s VPS:
    • Use Softaculous in cPanel to install WordPress.
  4. Import the Site:
    • Log in to the new WordPress dashboard on Yogi’s VPS.
    • Install and activate the All-in-One WP Migration plugin.
    • Go to Import and upload the exported file.
  5. Test the Site:
    • Verify that your site is working as expected on Yogi’s VPS.

Alternative Plugins:

  • Duplicator
  • UpdraftPlus Premium

Method 3: Manual Migration

Step 1: Copy Website Files

  1. Download Files from Old Host:
    • Use FTP (e.g., FileZilla) or cPanel’s File Manager to download all files from the website’s root directory (public_html or similar).
  2. Upload Files to Yogi’s VPS:
    • Log in to cPanel on Yogi’s VPS and navigate to File Manager.
    • Upload your files to the correct directory (e.g., public_html for your domain).

Step 2: Export the Database

  1. Log in to phpMyAdmin on your old host.
  2. Select your database and click Export.
  3. Save the .sql file to your computer.

Step 3: Import the Database

  1. Log in to phpMyAdmin on Yogi’s VPS.
  2. Create a new database:
    • Go to MySQL Databases in cPanel.
    • Add a new database, user, and password.
    • Assign the user to the database with ALL PRIVILEGES.
  3. Import the .sql file:
    • Open phpMyAdmin, select the new database, and click Import.
    • Upload the .sql file.

Step 4: Update wp-config.php

  • In cPanel’s File Manager, locate the wp-config.php file in your WordPress directory.
  • Update the following lines with the new database details:
Copy to Clipboard
  • Save the file.

Step 5: Test and Finalize

  • Test your site using the temporary URL or IP address.
  • Update your domain’s DNS records to point to Yogi’s VPS once everything works.

 

Post-Migration Tasks

1. Test Your Website

  • Verify that all pages, posts, plugins, and media are functioning correctly.
  • Check forms, login pages, and other interactive features.

2. Update Permalinks

  • Log in to WordPress and navigate to Settings > Permalinks.
  • Click Save Changes to regenerate .htaccess and avoid 404 errors.

3. Enable SSL

  • Install a free SSL certificate via cPanel’s SSL/TLS Manager.
  • Update your WordPress settings to use https://.

4. Monitor DNS Propagation

  • DNS changes can take 24–48 hours to propagate fully. During this time, visitors may still see the old site.

5. Backup Your New Setup

  • Once the migration is complete and tested, create a backup of your website on Yogi’s VPS.

 

Need Assistance?

If you encounter issues during migration, Yogi’s VPS support team is available 24/7 to help. Visit the Yogi’s VPS Support Center for detailed guides or contact us directly.

Migrating your site to Yogi’s VPS is the first step toward improved performance and reliability for your WordPress website!

By Published On: February 18th, 2015Categories: Servers, Support, Tips & TricksComments Off on HOW TO MIGRATE YOUR WEBSITE TO YOGI’S VPSTags:

Share This Story, Choose Your Platform!