This content has been marked as final.
Show 1 reply
-
1. Re: How do I set up multiple sites using One IP and host hea
rajivhs Mar 31, 2003 5:30 PM (in response to jlisson)Try this. It may work. I tried it before it worked but it was a little flaky. I did not put it in production. I used a web forward for one of the sites.
Copy this into app1.war/jboss-web.xml
<jboss-web>
<context-root>/</context-root>
<virtual-host>www.domain1.com</virtual-host>
</jboss-web>
Copy this into app2.war/jboss-web.xml
<jboss-web>
<context-root>/</context-root>
<virtual-host>www.domain2.com</virtual-host>
</jboss-web>