Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi, I already have a Digital Ocean VPS that is hosting my static html portfolio website. I am making a REST API in Java (spring boot) and I will have an executable .jar. I want to deploy this on my VPS.
Can I create another Virtual Host in my /var/www directory, so I will have 2 Virtual Hosts on the same VPS?
Also, is running the Java .jar on the VPS as easy as FTPing the .jar over to the server, then simply running it as a service, i.e. systemctl start myjar?
Or are there more steps needed ? When I disconnect from ssh to my VPS, will the jar continue running? It’s an API with endpoints so its needs to be up 100% of time.
Thank you.
Mario Hennenberger
2b943a6c5830489f9a3a6e3ade857e
8c5b08bc277a4e1bbfbcdd305aa232
Kailey Ketchum
9c1989c1c80144c7a9977905ce64c9
a6309a057c3f4cb38fb2e7feb67236
a6309a057c3f4cb38fb2e7feb67236
9c1989c1c80144c7a9977905ce64c9
CometAPI001
Rafiq Mohammed shah
05f65dd4216b456c9c89745746f80e