ThomasRasmussen on Mon, 14 Mar 2016 20:35:59
My goal is to have 2 webservices hosted on 1 VM. So that one of them could be http://test1.cloudapp.net and the other http://test2. cloudapp.net. Is this possible, and what steps do I need to do?
Girish Prajwal on Tue, 15 Mar 2016 17:42:29
When you say test1.cloudapp.net and test.cloudapp.net; these 2 are cloud services which cannot be deployed in a single VM.
If it is website using IIS server with test1.com and test2.com you can deploy it using IIS server with port bindings. Also, enable the endpoints for both the sites on the management portal.
Hope this helps
chilberto on Wed, 16 Mar 2016 00:25:14
As Girish points out this is not supported by Azure websites or cloudapps but of course would be if you wanted to handle the VM yourself.
I would step back and consider why you want to do this. It might be to save cost but I feel the tradeoff in being able to manage and scale the apps separately is greater than the cost benefit. If it is because of a shared resource that is deployed to the VM then I would again rethink the design as there most likely is a more "cloud friendly" way to accomplish this.