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)