tag:help.appveyor.com,2012-11-13:/discussions/questions/1314-deploying-multiple-virtual-directories-in-the-same-azure-websiteAppVeyor: Discussion 2018-08-25T02:00:13Ztag:help.appveyor.com,2012-11-13:Comment/369355632015-05-26T02:59:40Z2015-05-26T02:59:40ZDeploying multiple virtual directories in the same Azure Website<div><p>Hi:</p>
<p>We have a scenario where we have 3 different websites. One of
them is the primary site deployed to Azure website. Other two
websites are virtual directories inside the same azure website.<br>
This blog post describes our scenario well<br>
<a href="http://blogs.msdn.com/b/tomholl/archive/2014/09/22/deploying-multiple-virtual-directories-to-a-single-azure-website.aspx">
http://blogs.msdn.com/b/tomholl/archive/2014/09/22/deploying-multip...</a></p>
<p>Has any one done this before?</p>
<p>I am assuming that we have to push additional files into the web
deploy package.</p>
<p>Any pointers for this will be helpful?</p>
<p>Thanks</p></div>rajindersinghtag:help.appveyor.com,2012-11-13:Comment/369355632015-05-26T03:08:37Z2015-05-26T03:08:37ZDeploying multiple virtual directories in the same Azure Website<div><p>Nice article, thanks for sharing it.</p>
<p>As far as I understood you should have <strong>3 Web Deploy
packages</strong> - one for primary web site and others 2 for
virtual directories. If it's a single VS solution you should end up
with 3 Web Deploy artifacts in build results.</p>
<p>Next, you setup 2 virtual directories using Azure Portal.</p>
<p>Then you setup 3 Web Deploy publishinga - 1 for primary site and
2 for virtual directories (specify
<code><website>/<vdir></code> in their site name
fields).</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/369355632015-09-23T23:29:37Z2015-09-23T23:29:38ZDeploying multiple virtual directories in the same Azure Website<div><p>So, this had me tearing my hair out again today. If anyone else
has issues on deployment to Azure with a vague error on the final
deployment step, I found that I had to publish each project to its
virtual directory within Visual Studio first (by connecting to my
Azure subscription and using the publish profiles). This apparently
sets the correct Access Control List (ACLs), after which, you can
then use Appveyor to deploy to virtual directories without issue. I
don't think there's any step i am missing in my configuration, and
the deployment error message is so vague as to be useless, so
hopefully this helps someone in future.</p></div>daleholborowtag:help.appveyor.com,2012-11-13:Comment/369355632015-09-23T23:55:43Z2015-09-23T23:55:43ZDeploying multiple virtual directories in the same Azure Website<div><p>Wow, that's kind of tricky! Thanks for sharing that. Just
wondering why wouldn't you just switch to regular VMs to simplify
the things?</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/369355632015-09-24T01:41:41Z2015-09-24T01:41:42ZDeploying multiple virtual directories in the same Azure Website<div><p>I was originally interested in reduced maintenance / manual
upgrades etc for the server (ie. i wanted the hands-off approach of
Azure Websites, rather than running patches etc to VMs). I've also
read a few articles critiquing the VM performance in Azure
(admittedly a bit old now), but in future we'll have to revisit the
discussion and make a decision for VM / Website / own hosting.</p></div>daleholborowtag:help.appveyor.com,2012-11-13:Comment/369355632015-09-24T01:47:32Z2015-09-24T01:47:32ZDeploying multiple virtual directories in the same Azure Website<div><p>Yeah, sometimes Azure Cloud Service is like a blackbox and you
can stare for hours on "Recycling role..." message while
deploying</p></div>Feodor Fitsner