简体   繁体   中英

How to host Spring Boot Application on Web Hosting Server

I know this question might sound stupid but for me it's new. I have developed a simple Spring Boot Application, provide some backend APIs, running on localhost. I have also bought an webhosting server with my own domain, let's say: www.my-domain.com . Right now in the my-domain.com I just have some simple html code. And what I want to do is having the spring boot application running also under this domain.

Is it possible then? If yes can anyone point me to some references please?. If no, what do I need to run an Java Application under my own domain?

Thank you very much!

您需要在服务器上运行Spring Boot应用程序,然后需要配置Web服务器(nginx / apache),在Web服务器上配置Spring API路径和端口,流量将进入您的应用程序。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM