I have a VPS server that is running with an Apache server (port 80), a Tomcat server (port 8090), and Wildfly on port 8080.
But I wanted to know if there is a way to configure a domain for each port, for example: My server has ip x.x.x.x
, when the user enters dominio1.com.br
it will be redirected to that ip (on port 80 clear ), when it enters dominio2.com.br
it will be redirected to x.x.x.x:8090
port and when it tries to enter dominio3.com.br
it would be redirected to wildfly on port 8080.
Can you do that? I saw that it has something like Apache Virtual Host, but it only redirects between directories but not between ports ...