ASP.NET Deployment under IIS7/VS2010 as Web Application

Posted by adchased on Stack Overflow See other posts from Stack Overflow or by adchased
Published on 2010-04-13T21:01:33Z Indexed on 2010/04/13 21:03 UTC
Read the original article Hit count: 360

Filed under:
|
|
|

I transformed my VS2008 ASP.NET Website to a "Web Application" today using VS2010. So now it's possible to build a Deployment Package. A Zip Package which can be direclty imported into IIS7.

Usually I added a website in IIS7 called mydomain.com and put everything in its root dir. That worked.

However, since I converted to an Web Application, this Application is added beneath my "Website container". Now I'm confused, this is how it actually looks now when I try to open the website:

Browsing to mydomain.com says 404 ERROR.

Browsing to mydomain.com/mydomain.com opens the actual website, but in a subfolder instead of the root directory. (The Application is named after the Domain)

How to make this application the root of the website now? I want the application to run under the mydomain.com ROOT and not some subfolder.

Thanks a lot!

© Stack Overflow or respective owner

Related posts about iis7

Related posts about .net-4