5

How to point sub-domains to different local IP

view full story
linux-howto

http://serverfault.com – My question is the same with How to point a subdomain to local server with dynamic IP. The difference is that I do have a static IP from my ISP, I think i do not need to use DynDNS right? so what can I use instead? My goal is to point each subdomain to different web server like this: mydomain.com --> 192.168.1.100 (main web server) sub1.mydomain.com --> 192.168.1.101(web server 1) sub2.mydomain.com --> 192.168.1.102(web server 2) I have tried to use proxy module of Apache follow instruction here but not succeed. When i access to sub1.mydomain.com by browser, it always lead to mydomain.com. (HowTos)