Search code examples
asp.netiiswindows-server

How to add several asp.net application on IIS with same host and port/


Hi I simply want to do:

localhost:80/ASPnetpplication1 localhost:80/ASPnetApplication2 localhost:80/ASPnetApplication3 localhost:80/ASPnetApplicationN

but I have no idea how to configure this on IIS. All of the answers point to using bindings but when I add bindings it sends me to aspnetapplication/ as a hostname instead of this path in the url. Please help.


Solution

  • As far as I knwo, we could add multiple application in same IIS web site like below:

    enter image description here

    enter image description here

    Then we could access different site in the same url as below:

    enter image description here