Skip to main content
Participant
July 21, 2008
Question

Multiple Instances under 1 domain

  • July 21, 2008
  • 1 reply
  • 403 views
Hello. Is it possible to create multiple instances under the same domain? For example, I would like to have everything under inetpub/wwwroot/mysite to run when I go to www.mysite.com/. But I'd like everything under inetpub/wwwroot/mysite/admin to run as a separate instance (admin) at www.mysite.com/admin.

The problem is, I can't seem to connect the extra instance to the same IIS web site using wsconfig. I was under the impression that I could use the application.xml/context-root setting of the admin instance to cause JRun to use that instance. Am I mistaken?

I can easily create an additional IIS web site under the domain admin.mysite.com and connect the admin instance to that, but the boss wants to use a single domain. Any clues?

Thanks a bunch for any help you can give me.

Bud
    This topic has been closed for replies.

    1 reply

    July 22, 2008
    IIS is going to pipe everything under a given virtual site to the configured connector.

    You could create a new virtual site for /admin and let said site manage /admin and only /admin. That way you could build a second connector just for the dedicated instance.

    You could also whip up some rules for something like ISAPI_ReWrite that would pull this off.

    I *believe* (and I could be wrong on this) that the context root is only usefull if you're using the built-in web server.

    http://kb.adobe.com/selfservice/viewContent.do?externalId=5b768c0a&sliceId=2
    BuddyAuthor
    Participant
    July 23, 2008
    Thanks ke4pym. I understand about the 2nd virtual site in IIS. My main problem there is, I don't think there is a way to create 2 virtual sites using a single subdomain (www.mydomain.com). It's a simple process using unique subdomains for each site/instance, but the boss wanted to avoid that.

    Thanks again.