Server question - one IP, two hosts...
Posted on 2008-11-20
I have two machines: one running Windows XP and one running Debian, these run WAMP and LAMP respectivly.
Before I introduced the Linux box to the network, I was solely running WAMP with a single IP from my ISP. I used DynDNS to register a domain to point to this IP. Example windowsxp.dyndns.com . Now I have registered a new domain linuxbox.dyndns.com (keep in mind these are example domains).
What I'm trying to do, is simply have the windowsxp.dyndns.com domain go to the WAMP box (say, 192.168.0.111) and the linuxbox.dyndns.com goto LAMP (say, 192.168.0.222). I'm guessing I will need a new entry in my router b/c right now port 80 is forwarded to 192.168.0.111. Will I need a new entry say, port 81 to 192.168.0.222 and will I need to do this at the apache level as well, say, in the .conf?