I am doing this for the first time. I have a VPS server with Vesta CP installed on it. I did the following -
- Created a new Web Domain.
- It automatically created entries in DNS
- I setup FTP user for myself.
- I am able to connect to ftp using Fileszilla.
- In filezilla, I can see public_html folder (but NOT .htaccess)
- Created WAR file from eclipse for my application.
- Uploaded my war inside public_html.
- tried - http://myserver_ip/MenuBook/HomePageServlet - in browser. It said 404 Page not found. (MenuBook is the ContextRoot of my web application)
Can someone please explain what else do I have to do to make this work. I read that you have to modify .htaccess file too, here - https://documentation.cpanel.net/display/CKB/How+to+Deploy+Java+Applications
But I can not see any .htaccess file through ftp.
Please help. Any help will be greatly appreciated.