I have been tasked with the following:
webserver1 standard LAMP 192.168.1.100
webserver2 standard LAMP 192.168.1.101
what i need to do is have on webserver1 abc.com and def.com
webserver2 ghi.com and jkl.com
external DNS is pointing all 4 domains to 18.104.22.168
How do I get abc.com and def.com to resolve to webserver1 and ghi.com and jkl.com to resolve to server2. Port forwarding of 80 is on but that only goes to webserver1. I was thinking about an internal DNS server but how do you get the domains to resolve to the correct internal server?
Is there a better way of doing this? I have thought about getting multiple IP's but if it can be done without doing that it would be better.
Thanks for the help