The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomcat port number and App Name

Discussion in 'EasyApache' started by kashkalik, Mar 12, 2015.

  1. kashkalik

    kashkalik Registered

    Joined:
    Mar 12, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    new york
    cPanel Access Level:
    Root Administrator
    Hi guys !

    I am using a VPS to host a Java web application.I installed Cpanel and then installed Tomcat, Apache, PHP (easyApache) successfully. I used tomcat manager to deploy my War file. I can access the website using the URL: /http://www.domainname.com:8080/appname
    However, I wanted to access my web application using URL: /http://www.domainname.com
    To do this, I used ssh command to access to the tomcat server.xml and changed the port number from 8080 to 80. After I restart Tomcat, when I try to access to the /http://www.domainname.com:80, the page is giving an error . When I tried to access using URL: /http://www.domainname.com:80/appname, the page is also giving me an error. (In this case I already put war file and unzipped it to the public_html folder)

    Can anyone help me with that ?

    I just want to link the web application to the domain so that anyone who types /http://www.domainname.com will directly access to the web application.

    Help please !

    Thanks in advance !
     
    #1 kashkalik, Mar 12, 2015
    Last edited by a moderator: Mar 16, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The following thread offers a solution to this issue:

    cPanel Tomcat JSP and Servlets Guide

    Checked under the "07. War files" section for information related to your particular question.

    Thank you.
     
  3. gopkris2005

    gopkris2005 Well-Known Member

    Joined:
    Jan 9, 2007
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    INDIA
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page