Transfer to Azure from a web sites with subfolders each acting as a different application RRS feed

  • Question

  • Hello, I have several Azure webapps  in my subscription ... htts://abc.azurewebsites.net/  and https://xyz.azurewebsites.net

    I own a website that I am going to bring to Azure from another host, say acme.com. With my original host, the abc and xyz sites were found by going to http://acme.com/abc  and  http://acme.com/xyz respectively. How do I setup Azure when I bring my domain over so that each webapp can appear as a subfolder as I described instead of me having to buy a separate domain name for each webapp I create.

    abc.azurewebsites.net and xyz.azurewebsites.net are replicas from my webhost that I am now ready to transfer to Azure. One was a .net application, the other a php application.

    Thanks for any help 

    Friday, November 13, 2015 4:43 PM

All replies

  • One alternative would be to deploy a single app (call it acme.azurewebsites.net), and then deploy the .NET codebase into the /abc subdirectory and the php codebase into the /xyz subdirectory.  

    Additionally you can "mark" each sub-directory as a virtual directory, and optionally indicate each virtual directory should run as an independent app.  For your scenario I don't think you will need to mark the vdirs as independent apps since you only have (1) .NET app, and then a second non-.NET app (php in this case).

    See https://azure.microsoft.com/en-us/documentation/articles/web-sites-configure/ and look at the section titled "virtual applications and directories" for where this option is located in the portal UX.  

    Friday, November 13, 2015 8:55 PM