How to use DNS to redirect domain to specific port on my server
I have 2 public facing web servers on Rackspace Cloud Servers. One is a Windows 2003 server with IIS 6 and the other a Debian Lenny server with Apache2.
Our old website is hosted on Windows and we are developing a new version from scratch on Debian. The Debian box has Staging and Development environments setup on different ports.
In Rackspace's DNS settings I have the domain for the site pointing to the Windows box but I need to redirect the domain if it's on one of the Staging or Development ports. How can I do this?
Also, it doesn't matter which server does the redirection but I have a preference for Apache since we will eventually move everything over to the Debian box.