Microsoft Azure Web Sites allows you to have a virtual directory created within the site. There are many advantages to this. Consider a scenario where you your org's site is deployed to root http://<sitename>.azurewebsites.net. You now want to have separate branches for different departments within your org. For example:
Another example could be where you would want to setup a blog within your site. In this article I will demonstrate to deploy wordpress to virtual directory called BLOG within my site.
Here is my current set-up.
I would host the wordpress under my site so that it is accessible under http://kaushal.azurewebsites.net/blog. Here is what we need to do.
Sounds easy right? Let's go ahead and deploy it.
NOTE: Choose an existing MySQL DB or create a new one. Let's say you already have a free
MySQL DB associated with your subscription but you want a separate MySQL database for the application. You will have to purchase a plan from CLEARDB for this
NOTE: You could retrieve the connection string parameters from the LINKED RESOURCES page too. Click on MANAGE in the bottom pane for the site. This will redirect you to ClearDB site which will provide you with the following
NOTE: Don't chose FTP
as the protocol as it doesn't allow you to publish databases.