3 Replies Latest reply on May 14, 2013 6:23 AM by Jean-Frederic Clere

    How to restrict and redirect the web application to use hostname instead of IP address

    Srinivasa Rao Ammina Newbie

      Hi,

       

      Currently we are having 3 different java based web applications running in a linux server and users are currently using IP address in the web URL and we would like to restrict/redirect the user to use HOSTNAME based URL. Here the query is where to configure these in jboss server and we are using jboss-4.0.3 application server. If restriction is not possible if the user tries to type the IP based URL it should automatically resolve and redirect to HOSTNAME in the web URL. And we are having DNS settings configured for the IP address.

       

      Please help us in setting up this.

       

      Thanks & Regards

      Srinivasa Rao Ammina