My goal is to point different domain names to different VMs behind the first "node".
"domain1.com" to "fedoraVM", while " domain2.com" to "ubuntuVM".
Was thinking of setting up a router/firewall distro(eg. Zentyal) to handle all internal(VM) dhcp through internal vmswitch, and handle a subnet on a " green" nic. Don't know if that made any sence, writing this at 4 am, it bothers me that much: p
What I'm thinking is to set the wan(firewall red) to vnet01 and associating a physical nic to it (nic0), firewall green to vnet02 while also associating a physical nic to that one as well (nic1), nic1 will be connected to a switch to provide dhcp and Internet access to non-vms connected to the switch.
Setting static IP to esxi, so it won't take IP from ISP.
All VMS are on "green switch" vnet02, including esxi management.
Now I want to assign the domain "esxmgmt.com" to the esxi internal IP, while I also want to assign "fedoravm.com" and "ubuntuvm.com" too two VMs. All domain names which I should be able to access anywhere.
How do I set A-record on these domains?! External IP I know
But how do I point each domain to a different IP behind the firewall.
An other type of record?
A record server(DNS server?) on the same network and portforward DNS to that server?
Have checked out reverse proxy, but seams that it only applies to web-servers/application, and adds latency?!
Any thought's?
-Petter