0

I have two asp.net mvc projects (one for the back office and the other for the front office). I want to deploy them on the same virtual machine with different URLs : For example the first with the url "myProject" and the second with url "myProject/Front". If i deploy them under the same folder wwwroot, i have conflicts.

1 Answer 1

1

With an Azure VM you have a full Windows Server at your disposal. Just RDP into your VM and manage the sites with IIS as you would more traditional websites. You can't technically deploy multiple applications to the same document root, but you can set one up as a virtual application for the other. However, bear in mind that the Web.config of the outermost application will apply to any virtual application residing within. Otherwise, just create two entirely distinct sites in IIS each with their own document root.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.