ASP.NET Deployment under IIS7/VS2010 as Web Application
- by adchased
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!