Codie
Codie

Reputation: 474

IIS 7 Mutiple websites with url

I have 3 Asp.Net MVC 4 web applications. I deployed one on the Default Web site and other 2 as web applications under Default Web site. How can I create bindings so that when I go to http://app.xyz.com/ it will go to first application and then if I do http://app.xyz.com/App2, it should go to 2nd app and so on. Right now I can browse the first application correctly after editing the binding, but when I browse http://app.xyz.com/App2, I cannot.

can I have the url part (/App2) in the host name of the bindings?

Upvotes: 0

Views: 55

Answers (1)

Jason Clair
Jason Clair

Reputation: 76

I believe you're looking for Virtual Applications, this should give you the effect you're looking for. Please look at http://www.iis.net/learn/get-started/planning-your-iis-architecture/understanding-sites-applications-and-virtual-directories-on-iis for more details.

Upvotes: 1

Related Questions