Well I know how simple this would be in Apache.....all I'd have to do is update the DNS A records and it would be done. However, the company I'm working with uses a Windows/IIS platform. So here is the situation:
The company I'm working with for a web project owns the domains and currently has their own Windows/IIS server. I will be providing content for their website using my own PHP code on my own server that only I will have access to. Therefore I need to redirect traffic from their site to my own web server (currently has it's own static IP). Here's the kicker - I only need to redirect certain subdomains.....not the main domain.
needs redirected to http://IPADDRESS#1
needs redirected to http://IPADDRESS#2
needs redirected to http://IPADDRESS#3
Before jumping to conlusions, I want it so users do not know the re-mapping is taking place. Therefore, when a user visits http://au.COMPANYSITE.com/folder/aboutus.php
the request is actually mapped to http://IPADDRESS#1/folder/aboutus.php
..... but the user's address bar still shows http://au.COMPANYSITE.com/folder/aboutus.php
. Therefore they are oblivious to the transparent mapping.
Now on apache I have found this simple, simple, simple to do. But I'm pulling my hair out trying to figure out how to do it with Windows/IIS. Right now I have been given remote desktop access to their Windows 2000 server. I've looked at everything from individual subdomain properties to the DNS administration program. The "test changes" I've made have not been successful. For instance, I tried simply updating the subdomain using the "Home Directory" tab in the properties dialog box. I changed the option from "A directory located on this computer" to "A redirection to a URL". Now this did redirect.....but now the user/visitor's address bar showed the IPADDRESS#1.
Does anyone have some advise for a non Windows/IIS person to make this work correctly? I appeciate your assistance. Thanks, everyone!