cheezy
13th April 2008, 12:40
Hello,
I want to make the following happen:
I have somedomain.com and want to create subdomains. I already saw that you can do that with Apache using VirtualHosts but then you can only specify a DocumentRoot. What I want is some kind of forward to another IP address in the same network. Example:
sub1.somedomain.com -> 192.168.0.1:80
sub2.somedomain.com -> 192.168.0.2:7777
etc...
Can anybody tell me how to set something like this up? Can it be done with Apache? Or is it something my router should handle?
I want to make the following happen:
I have somedomain.com and want to create subdomains. I already saw that you can do that with Apache using VirtualHosts but then you can only specify a DocumentRoot. What I want is some kind of forward to another IP address in the same network. Example:
sub1.somedomain.com -> 192.168.0.1:80
sub2.somedomain.com -> 192.168.0.2:7777
etc...
Can anybody tell me how to set something like this up? Can it be done with Apache? Or is it something my router should handle?