1 Reply Latest reply on Jul 27, 2005 5:18 AM by Thomas Quas

    Can we use Jboss as a default web server?

    shiraz memon Newbie


      Is it possible to use jboss as a default web server, if yes then how can we do the following things

      - Change the port to 80 from 8080
      - if i host the website call www.toys.com on my jboss server and i wanted to show the default page e.g. toys homepage rather than jboss console page.
      - Is there a way to make virtual directory.

      thanks in advance


        • 1. Re: Can we use Jboss as a default web server?
          Thomas Quas Newbie

          Sounds to me like you need to look into the Tomcat docs. Tomcat is the underlying 'web server' and pretty much provides all your requested features.

          Depending on what you want to do, standalone Tomcat or Resin might be good enough.

          Reconfigure port 80: look into $JBOSS_HOME/server/your-server/deploy/jbosswb-tomcat*.sar/server.xml, there you'll find the list of connectors (for JBoss 4.x).

          It might also be a good idea to do port forwards on your firewall so that HTTP requests to port 80 are transferred to another host/port combination.