How to migrate blog to WordPress hosted on Azure–Part 1

Hi guys,

on this post I will explain the required steps to migrate your blog to a WordPress blog running on Microsoft Azure, I will split this in two posts.

On this post “How to migrate blog to WordPress hosted on Azure – Parte 1” here are the topics being covered:

1.   Login or Subscribe Microsoft Azure
2.   Create WordPress blog on Microsoft Azure
3.   Configure Azure Web Hosting Plan for WordPress web site
4.   Migrate your blog content from to your WordPress blog hosted on Azure


On “How to migrate blog to WordPress hosted on Azure – Parte 2” I will cover the following:

5.   Custom domain name for your Azure WordPress Blog (Optional)
6.   Configure redirection to Azure blog (Optional)
7.   Installing plugins for similar experience with (Optional but recommended)


1 – Login or Subscribe Microsoft Azure

You obviously need a Microsoft Azure subscription, if you already have one just login to your subscription, if you don’t subscribe a Trial for a start.

During the Trial subscription you will have to present you credit card information, don’t worry, you will not be charged for anything, it is just to prove your identity, Microsoft uses this mechanism to reduce the Trial abuse on a malicious intent.

Microsoft Azure home page:

Subscribe Microsoft Azure Trial:



2 – Create WordPress blog site on Microsoft Azure

– Login on Microsoft Azure Portal with your subscription account

– On the bottom left of the screen click on “NEW” button


– Navigate through “Compute –> Web Site –> From Gallery


– On the Web Apps Gallery options select “Blogs” and Scroll all the way down through the Blog platform list and select “WordPress


– On “Configure Your App” screen, first you need to define the URL for your website, at this point I will keep the default domain “” which I can use for free, but I can change it back later to my own custom domain.

For the purpose of this test I’ve filled the URL with “luisrato123” which will make my blog accessible through the URL “”. So type in whatever makes sense for you.


– After defining the URL you need to define settings for your database, you can opt for a new MySQL database or to use an existing one.

I’ll assume that you don’t haven’t a database yet so the default value should be “Create a new MySQL database” (if you were creating a second blog the default value would be “Use an existing MySQL database”).

– On the same screen you need to define the “Deployment settings” were you have to put all the required passwords, such as:


To make your life easier you can use the following URL:

Through this you can generate keys with random and complex character set.

On the image below I’ve framed the piece of information that I had to copy/paste for each password deployment settings passwords.

Note: I found that this password API generates passwords with non-supported characters (single quote, backslash and dollar). On the Azure deployment settings, each will be signed when you click on Next button, you just need to replace the non-supported characters with any other random character of your choice.



– On the next screen you need to define the database instance name and the geo-location.


3 – Configure Azure Web Hosting Plan for WordPress web site

We easily created a WordPress web site on Azure, before you jump over to WordPress configuration we have to chose a Web Hosting Plan that meets our performance requirements, at the moment there are 4 different plans, FREE, SHARED, BASIC and STANDARD.

On the following table you can compare the differences, if you are just a regular user the FREE or SHARED plans might be all you need, but if you have heavy traffic demand for you site you need to consider other options, the BASIC and STANDARD plans allow you to have a dedicated VM environment with different sets of VM computing/memory capability and scalability options as well.

Azure Web Hosting Plans Price details:

Websites 10 100 Unlimited Unlimited
Storage 1 GB 1 GB 10 GB 50 GB
Compute instance Shared Shared Dedicated Dedicated subdomain with FTP/S and SSL ü ü ü ü
Custom domain support   ü ü ü
Custom domain SSL support     SSL pricing applies 5 SNI SSL and 1 IP SSL Connections included
Scale-Out (max. instances)   6 shared instances 3 dedicated instances 10 dedicated instances
Integrated Load Balancer   ü ü ü
Always On     ü ü
Web Sockets     350 per website Unlimited
Backups (Preview)       ü
Auto Scale       ü
WebJobs (Preview) ü ü ü ü
Azure Scheduler support       ü
Staged Publishing       ü
SLA     99.9% 99.9%

– To configure the Web Hosting Plan for your WordPress Web site, on the Azure Portal, on the left pane click on “Web Sites” to display the available web sites and then click on your WordPress Web Site instance.


– The Web site details will show you some options on the top menu, click on “SCALE” to define your Web Hosting Plan


– On the Web Hosting Plan Mode screen you can define the desired plan, in my case I’ve opted for “BASIC” mode which allows me to have a dedicated environment, chose the size of my VM and define the number of instances I need.

As I said before, “FREE” mode might be enough for you at no cost, I am not pushing you for my own definition which implies costs.

Web Hosting Plan Mode: BASIC
Instance Size: Small (1 core, 1.75GB Memory)
Instances: 2 (1 in use)


– After you’ve made changes click on the “Save” button at the mid-bottom of the screen.

4 – Migrate your blog content from to your WordPress blog hosted on Azure


4.1 Export blog content from

– Login on and access your Blog Dashboard, from the left pane options click on “Tools –> Export


– On the next screen click on “Export” (Free)


– You can segregate the content or you can export everything (Posts, Pages, comments, etc). As we are migrating a blog from one side to another it makes sense to opt for “All content” and click on “Download Export File” to download the XML file.



4.2 Import blog content to your new Blog hosted on Azure

– On your browser type the URL of your new WordPress Blog hosted on Azure (

– You will be prompted to create your login information, fill in the Site title, desired username and password



– On your Blog Dashboard, from the left pane options click on “Tools –> Import


– On the Import options screen select “WordPress


– Click on the “Install” button on the bottom right


– After a few seconds with the last action you have installed the Import Plugin, click on “Activate Plugin & Run Importer


– Now Browse for the XML file you had exported from your Blog and click “Upload file and Import


– On the next screen you need to assign an Author for your posts (you can change this later…), for now select the option “or assigns posts to an existing user”, click on the drop-down list and select your user. Don’t forget to put a tick on the checkbox “Download and import file attachments” and click on “Submit” button.

This action can take a while.



We have reached the end of Part 1, follow Part 2 on “How to migrate blog to WordPress hosted on Azure – Parte 2”.

R-Tape Loading error,
Luís Rato


~ por Luis Rato em 7 de Junho de 2014.

Deixe uma Resposta

Preencha os seus detalhes abaixo ou clique num ícone para iniciar sessão:

Logótipo da

Está a comentar usando a sua conta Terminar Sessão /  Alterar )

Google photo

Está a comentar usando a sua conta Google Terminar Sessão /  Alterar )

Imagem do Twitter

Está a comentar usando a sua conta Twitter Terminar Sessão /  Alterar )

Facebook photo

Está a comentar usando a sua conta Facebook Terminar Sessão /  Alterar )

Connecting to %s

%d bloggers like this: