How Migrate To Vps Ubuntu 20.04

How Migrate To Vps
How Migrate To Vps

 

On this Occasion, I will share my experience How Migrate WordPress To Vps Ubuntu 20.04 from old  provider to a new provider, a sign of losing database, Themes and Plugins.

1. Install the Plugins on the old WordPress provider, namely UpdraftPlus to backup database, themes and Plugins. Then in the UpdraftPlus menu, enter Setting, select Google Drive/Dropbox, scroll down, check the box for themes, Plugins then save, then return to the main menu, select Backup/restore and backup now. To ensure a successful backup goes to google Drive/dropbox see if there is updraftPlus is in means the backup was successful and you can proceed to the next step.

How Migrate To Vps
How Migrate To Vps
How Migrate To Vps
How Migrate To Vps
How Migrate To Vps
How Migrate To Vps
How Migrate To Vps
How Migrate To Vps
How Migrate To Vps
How Migrate To Vps

Screenshot 2022 01 05 01 06 34

2. Just in Case Backup your Database on the old Server Provider with Phpmyadmin click on your database, then scroll down to Choose All then Export select Custom, then send it will automatically download in SQL format.

Screenshot 2022 01 05 01 11 46 Screenshot 2022 01 05 01 12 12 Screenshot 2022 01 05 01 19 38

3.Install WordPress with lamp and install SSL, on the new server and remember the configuration settings are the same as the old server. Enter the new Phpmyadmin server, select database that you created on the old server and then import, remember in this step you have installed WordPress and SSL on the new server. If an error message appears after importing the database, just continue because later themes and plugins will be on UpdraftPlus, don’t worry if you have Themes and Plugins Pro.

Screenshot 2022 01 02 10 31 22

4. Then point your domain/subdomain from the old server to new server, if your domain is on the old server provider, change the ip address and domain in the old provider to the new provider server, after changing the old server’s Ip address to the new server, change the nameserver settings from the old provider to a new Provider (you can also use the domain provider’s nameserve, for ip addresses you must use an active IP Address/obtained from a new provider), you can ask your new NameServer to the new CS Provider if you want to use a new NameServer. 

5. If you Successful Type a New Domain Name/IP Address in the Browser, if you can enter the WordPress dashboard, the migration has been successful. Don’t be afraid if the Themes and Plugins are lost, because we’ll restore them later with UpdraftPlus. Install UpdarftPlusthen scroll down there will be a backup from the old server then select restore.

Screenshot 2022 01 02 13 32 39 Screenshot 2022 01 02 12 44 48 Screenshot 2022 01 02 10 42 34

WordPress Vps migration has been successful safely, no database, Themes and Plugins are lost if Error 443 activate Mod_rewrite in SSL directory and copy .htaccess ;

nano /var/www/html/wordpress/.htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Options -Indexes

That’t all How Migrate to Vps Ubuntu 20.04 tutorial, hopefully it can be useful for all of you.

https://coblong.com

About the author

I Like Linux Although Sometimes it's Hard I Believe I Can, I Definitely Can and I Should be Able to. I Also Loves Websites, Php, Python and All About Linux.

1 thought on “How Migrate To Vps Ubuntu 20.04”

Leave a Comment