A short tutorial on how to deploy web application to Cpanel with the war file.
Step 1: Login into your cPanel
Step 2: Open file manager → apache-tomcat-9 → web apps
Step 3: From the above path you can deploy your war files.
Note: Replaceapache-tomcat-9 with your Tomcat folder.
If you need to display your application in main website deploy it in ROOT folder
If you need to display your application in some other URL deploy it in with some other name.