MTB
MTB

Reputation: 489

How to deploy grails war file on cpanel (support tomcat)

I have a web application with grails, I want to deploy this web application in cPanel by using .war file.I follow this guid, first I created database then added database info on my app datasource, made war file and uploaded war on PUBLIC_HTML file on cPanel, renamed war file to zip file and extract it. I checked url(sampleDomain.com/myApp) but it shows error like below:

Not Found
The requested URL /myApp was not found on this server.

I don't have any idea how to deploy this war file.

Upvotes: 2

Views: 184

Answers (1)

elixir
elixir

Reputation: 1442

Given that your tomcat is working on your cPanel, you would save your war file in "webapps" folder and then start tomcat. Its tomcat's job to unzip the file and serve it. You don't need to manually unzip the war file.

Upvotes: 0

Related Questions