Sorry i read again my answers and really i dont explain the thing very well. Thanks for your patience.
This is a LAN in my office, our ISP provide us free static public IP so we installed two servers. One server is running some ERP software and need to be listening on port 80. I did a port forwarding (NAT) in the router and configure a subdomain to point to the office IP. This is working for some time and we cant change the port for this service now.
The second server its why im trying to configure now. I want to create an Alfresco server. Alfresco uses Tomcat (ports 8080 and 8443 by default) but i cant use tomcat with a letsencrypt certificate (i think) without using a web server like apache or nginx. So, Im trying to do a redirection (maybe its not called a redirection) from the apache server listening on port 443 to Tomcat using JK_mod (Also have a port forwarding setup in router for this).
I dont know the details about this communication between both servers tomcat and apache. But i think if this kind of redirection is working server can not be validated so tomcat dont serve a directory.
So i think i have to disable this kind of redirection to temporary serve a directory and do the challenge using port 443. When certificate renewal is complete i can enable redirection to tomcat again. Is this right? maybe there is other way to automate this that i dont know.
I really appreciate your help.