0

When I deploy an ASP.NET MVC3 application to an IIS 7.5 on WindowsServer 8RC2 it is only accesible under this url: mydomain.com/mvcsite instead of just mydomain.com

I am using MSDeploy to install the app from deployment package built in visual studio.

On the IIS I have a website configured and inside this an Application named 'mvcsite'.

Do I need Url rewriting to make this work or can some default root path be configured in the IIS 7.5?

1
  • see this Commented Aug 11, 2012 at 8:22

2 Answers 2

0

In the Advanced settings of the site (right click on the site -> Manage Web Site -> Advanced Settings...), you can change the Physical path to the path where your mvcsite application resides.

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

Comments

0

It turned out that I just had to create a website without creating an application beneath.

1 Comment

actually, I'm in the opposite situation as you were. I'm able to create a website, point it to a folder in wwwroot and then deploy application contents inside that folder, so to have that at domain/. Instead I'd like to create a website, and in the end have the app located at domain/myApp. How to do that?

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.