Can it be done - routing subdomains to different internal IP

Discussion in 'Server Operation' started by denbert, Oct 20, 2009.

  1. denbert

    denbert New Member

    Hi there,

    I'm becoming a huge fan of visualization on vmware 2.0 server and had made several servers on my host machine.

    From time to time I'm testing different webpages and designs and therefore I'm always making a dedicated vmware virtual machine for this installation.

    I have my own domain pointing to my public IP address.

    It would be fantastic if I could set up an internal DNS server (a virtual, off course :D) making xxx.mydomain.tld go to IP: and yyy.mydomain.tld go to IP:

    Or even better if my Firewall could do the job - It's a NetGear ProSafe VPN Firewall FVS 318v3

    Can it be done, any one please?
  2. falko

    falko Super Moderator ISPConfig Developer

    For your internal network, you can set up a DNS server. But your router can forward port 80 to just one IP, so for your outside users you cannot have web sites on different local IP addresses.
  3. id10t

    id10t Member

    Forward port 80 to an Apache server running mod_proxy and have it fetch from other internal machines?
  4. denbert

    denbert New Member

    I know the issue with the router, this was why I was wondering about the DNS setup. If i could set up an DNS server on DMZ and this DNS then could route the different domains to different IP addresses?

    What are hosting companies doing?

Share This Page