2 Replies Latest reply on Jun 28, 2011 3:16 AM by Jamshed Katta

    Hosting a website on Jboss5 ?

    Jamshed Katta Newbie

      Hello,

       

      I want to know how do u host a website via jboss5.0.0

      say i have my application on localhost

      http://localhost:8080/someApp

       

      I want to point it to http://www.someapp.com

       

      Editing the server.xml i changed the port to 80 so the app is now on

      http://localhost/someApp

       

      Now, i wrote the jboss-web.xml and changed the context root to /

       

      1. <jboss-web> 
      2.     <context-root>/</context-root> 
      3.     <virtual-host>www.someapp.com</virtual-host> 
      4. </jboss-web> 

       

      and deleted  the ROOT.war so the app is now on

       

      http://localhost/

       

       

      So i if i now have have to put it up on say:

      http://www.someapp.com

       

       

      What is the virtual host stuff ?

      ?

       

      Regards,

      Jamshed Katta