WEBSITE 1: I had a single ASP.NET MVC site in Visual Studio online and was building and then releasing from the Visual Studio Online to that Virtual machine.
WEBSITE 2: I decided to create another Solution/Project in Visual Studio online and run it off the same Virtual Machine (with continuous integration, etc). As part of setting up Deployment Groups for that project, I wanted to add the same virtual machine as for project 1 (I believe I cannot share Deployment Groups between projects).
When I executed the VSTS Agent script for site 2 on the virtual machine, the first website's target went "offline", and the machine lit up in the SITE 2 Deployment Group, disappearing from SITE 1 Deployment Group.
There seems to be only one VSTS Agent that can be set up to receive website deployments:
Question: How can I set up the same virtual machine with IIS to receive deployments for two separate websites within the same VS Online account? Is there a way to set up multiple VSTS Agents on a Azure Virtual machine?








