I have one subdomain (dyndns). xyz.dyndns.com (f.e.)
Here my question begins:
- I have a server for virtualisation.
- On the server I have multiple VMs where different web-services are available through https.
- My router is configured with xyz.dyndns.com
- VMs can be accessed over NAT or be Bridged to router
How is it possible to access VM_1's and VM_2's WebService like:
Because I need to add redirection rules to router.
I know that with bridging the VMs I can simply redirect http to the VM on router.
In my local network I have configured anything with DNAT (iptables).
I.e. when I go trought localhost(server):40001(port) f.e. I will be redirected to VM_1's WebService which is accessible through SSL. Like:
It works good. How to go on?(with nginx or apache on host?)