I have a KVM virtual machine server. and I'm running 2 clients VM, with apache webserver in it. My problem is that I have only 1 public IP. So I want redirct visits from domain A into VM A. Redirect visit from domain B into VM B.
I'm thinking of using iptables to filter and redirect the visit. Is it a feasible solution? and it seems too difficult for me. Can anyone give me an example?
Thank you in advance!