0 Replies Latest reply on Feb 11, 2002 3:22 PM by mkotsbak

    Multiple hostnames (virtual hosts) with jboss/jetty

    mkotsbak

      I have the same problem as this post:
      http://main.jboss.org/thread.jsp?forum=50&thread=1659 :

      I have several domain names with different contents on the same server/ip. What is the best way to specify the domain an application (.ear) should be bound to?

      I would prefer to specify it in the application.xml, as the context root, but i can't find any options for that purpose. If it is impossible in that way, could we have it set up in a jboss-application.xml-file (or maybe in the already existing jboss-web.xml?)

      The workarounds i see are multiple jboss-instances (uses more RAM, problems with common database++), and redirecting to a subfolder on the same domain (but i think this will change the URL in client browser, which might be confusing for some customers)

      Marius