You will need to run a reverse proxy on one of your VMs ( I use Caddy, it's very simple), and forward port 80/443 to your reverse proxy.
Within your reverse proxy, you can tell it what port corresponds to which address and it will send you to the right service.
This is obviously an oversimplified answer, but there are many Caddy guides and I can help you with any specific questions.