Site Migrated from Arvixe VPS to Azure VM

Just migrated this blog from a cPanel VPS provider to my own Azure VM running on Ubuntu/Apache/MySQL. If you’re seeing this, then the migration worked!

Followed these instructions to install apache, wordpress, and mysql. https://ubuntu.com/tutorials/install-and-configure-wordpress#1-overview

Followed the Site Health and updated chmod 444 for .htaccess and wp-config.php from 666 and 644 respectively.

Originally tried migrating the content using Migrate Guru Plugin since it seemed easier, but it failed.

Finally migrated the content using All in One WP Migration Plugin.

Upon completion I deactivated the All in One WP Migration Plugin and immediate lost access to admin panel. Had to add some lines of code to the wp-config.php file above the require once call

if (isset($_SERVER[‘HTTP_X_FORWARDED_PROTO’]) && $_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’) $_SERVER[‘HTTPS’] = ‘on’;

Surprisingly the performance has been horrendous on a B1s so I just upgraded to B1ms. I suspect there’s some mysql tuning that needs to take place to prevent it from hogging over 50% of system memory. Will leave it at 2GB ram for now and come back to this later.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.