Answer the question
In order to leave comments, you need to log in
How to make a redirect in TomCat?
I deployed the project on a VPS in TomCat, but I want access to it on the same VPS not through localhost:8080/myapp , but through a domain name like www.myapps.com .
I have not encountered deployment before, please tell me how this can be organized.
Answer the question
In order to leave comments, you need to log in
In server.xml, you need to register the corresponding host and change the port. The file is richly commented, you won't get lost.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question