Redirection to services in NAT or Bridged Network only with one subdomain
1
vote
1
answer
1157
views
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?)
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:
https://xyz.dyndns.com/vm_1_webservice
orhttps://xyz.dyndns.com/vm_2_webservice
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:
https://127.0.0.1:40001/vm_1_webservice
It works good. How to go on?(with nginx or apache on host?)
Asked by x4k3p
(135 rep)
Jan 23, 2014, 03:12 AM
Last activity: Jan 23, 2014, 03:51 AM
Last activity: Jan 23, 2014, 03:51 AM