I have a php server that is running my domain name. For testing purposes I am running an asp.net on a dotted quad IP. I am hoping to link them together via either PHP or some kind of DNS/.htaccess voodoo.
So if I go to www.mydomain.com/test it redirects (but keeps the url of (www.mydomain.com/test) in the browser’s address bar and the pages are served by the dotted quad IP asp.net box.
Instead of pointing
www.yourdomain.com/testat your test server, why not usetest.yourdomain.com?Assuming you have access to the DNS records for
yourdomain.com, you should just need to create an A record mappingtest.yourdomain.comto your test server’s IP address.