How to host multiple FLEX applications in IIS7

Posted by Devtron on Server Fault See other posts from Server Fault or by Devtron
Published on 2010-12-23T17:45:17Z Indexed on 2010/12/23 17:56 UTC
Read the original article Hit count: 241

Filed under:
|
|
|
|

Hello,

I manually deploy a FLEX application to my web server (IIS 7). There are two virtual directories, 1.) Default 2.) myFlexApp1.

myFlexApp1 is where my working FLEX application resides.

I now need to deploy a different FLEX application (let's call it myFlexApp2) to the same web server.

I set up a virtual directory for [myFlexApp2] and it complains about the "bindings" using port 80, which is already used by [myFlexApp1].

I have tried to give them separate host names in their bindings properties. For example, myFlexApp1.mydomain.com and myFlexApp2.mydomain.com.

I can never get [myFlexApp2] to show from an external browser. I was able to get only one or the other to display, but never could run both.

Here is what I need:

  1. myFlexApp1.mydomain.com --> myFlexApp1
  2. calendar.mydomain.com --> myFlexApp2
  3. test.mydomain.com --> myFlexApp1

where test.mydomain.com is the default URL.

Is this possible? What am I doing wrong? I even tried to edit the hosts file in [C:\Windows\System32\drivers\etc] but that didnt work either.

How can I serve up two FLEX applications on IIS 7? It shouldn't be this hard!

© Server Fault or respective owner

Related posts about iis

Related posts about iis7