1

I am using local IIS instead of the VS Web Server but instead of a virtual directory on the Default Web Site, I want to configure my web application project to run in its own IIS Web Site on port 8080. How can I do this?

kenwarner
  • 28,650
  • 28
  • 130
  • 173

2 Answers2

2

Setup a website on IIS, using port 8080.

Point the home directory of this site to the web application project directory.

To debug on IIS, attach to the worker process (w3wp.exe).

Oded
  • 489,969
  • 99
  • 883
  • 1,009
  • setting up the Web Site in IIS first was the key. Normally with a virtual directory based web application, VS will create it for you. Apparently it won't create an IIS Web Site for you though if you change the web application project settings to use localhost:8080 – kenwarner Nov 17 '10 at 15:01
-1

Take a look into your Web Application project properties. Under the tab "Web" you can select "Use Local IIS Web server" and create from this point a virtual directory for your app. The only part you have to configure on the iis side is the port number for your website.

Mariusz
  • 1,409
  • 12
  • 25
  • this is what i typically do, but in this question i asked about how to do it using a separate IIS Web Site, not just a virtual directory in the Default Web Site – kenwarner Nov 17 '10 at 15:04
  • I see. I misunderstood your question, sorry. – Mariusz Nov 19 '10 at 19:22