How to deploy Tomcat WAR file in cPanel server?

ere is the tutorial how to deploy WAR file:

STEP-1) Build your web app suppose example.war; Now Rename it exactly as "ROOT.war"

STEP-2) In your cPanel server goto /ea-tomcat85/webapps/ location (Under root path)

STEP-3) Copy your "ROOT.war" file into the location.

Now, It will automatically extract to /ea-tomcat85/webapps/ROOT/ AND, your website will be live.

Note: Do not upload anything to public_html and this will not work.

To delete contents, delete all files under /ea-tomcat85/webapps/ROOT/* and follow STEP-1 to STEP-3 again.

If you face any difficulties, upload the .war file and update us via SUPPORT TICKET or, LIVECHAT.

Răspunsul a fost util? 18 utilizatori au considerat informația utilă

Articole similare

Do you support GD & ImageMagick?

Yes, we do support GD & ImageMagick modules across all our servers. The module-binaries are...

How can I execute php code as .htm or .html files?

In your .htaccess file insert this line of code: AddType application/x-httpd-php .html .htm...

How can I enable Mod-Rewrite Module?

In order to enable Mod_Rewrite for your site you should create a text file called .htaccess in...

How can I login into cPanel / WHM / Webmail?

You can login to cPanel by : http://cpanel.yourdomain.com http://yourdomain.com:2082...

How do I auto-redirect my web pages?

Redirects are used when you want to point a specific url or web page to another location. For...