我如何redirect我的服务器2012 R2传入域请求?

我有两个虚拟机在我的服务器上使用端口80.我如何redirectsub1.home.home机1和sub2.home.home机2

我认为我的路由器不是capatable的,所以端口80需要在服务器上以某种方式处理。

感谢提示和帮助。

AFAIR,你可以使用虚拟主机和mod_proxy的Apache HTTP服务器的第三虚拟机, https: //stackoverflow.com/questions/19223153/redirect-domain-request-to-different-vm-machines

这篇文章https://freedif.org/redirect-a-subdomain-to-a-vm-with-haproxy/也可以有帮助。