From previous post, I managed to set up WordPress on Azure, so now is time to move on. To move my existing WordPress over, very obviously I need to do backup, transfer, and setup.
1. Log in to existing hosting’s PhpMyAdmin.
2. Go to Export tab and then click Go button, and it will download the backup script file.
Since I’m going to reuse the same domain on my new server not changing new domain, so I did not edit the backup SQL script to update it with new domain.
Backup WordPress Files
I didn’t edit much files on my WordPress, so I’m going to backup just wp-content folder.
Restoring WordPress Contents
1. Log in to Azure portal, and go to the App Service.
4. Replace the wp-content folder with the one from existing WordPress.
Creating CNAME at Domain Provider
Before I can use my domain in Azure, I’ll need to create CNAME at GoDaddy.
Apparently I’m using HostGator’s name server, so I’m not allow to change.
So I decided to just change my Nameserver back to Standard.
After I changed that, I’m allow to add or edit records. However I can’t map www.stephensaw.me to azurewebsite.net as I already has a host WWW points to @.
I’ll need to edit that one instead.
After it propagated, I’ll see the “blue screen of death” when I visit www.stephensaw.me, as it no longer pointing to my HostGator. Man, they really love blue screen.
Using Existing Domain Name on Azure
After everything, now I’ll have to point the www.stephensaw.me domain to the Azure.