Mar 1, 2010 at 1:49 AM
Edited Mar 1, 2010 at 1:51 AM
I have an IIS 6 server with about 100 domains (sites) on it. From time to time, I need to do server maintenance, and would like to redirect every site on the server to a "Temporarily Down" location. I would like the "down" location,
as well as a "test url" kept open on the server - so they would not redirect.
I am thinking this should be possible with the global config file (I am using ver 2 which also has the site individual configs), but I'm not sure how to approach it.
1: Would the global file be the correct approach (rather than writing 100 - 150 individual files)?
2: Can you give me any tips/suggestions.
Here is an example of what I am thinking:
Main Server = www.mydomain.com (which also has, hissite.com, hersite.com, theirsite.com, etc.... etc....)
Down Domain = down.mydomain.com
Test Domain (where I can test new ASP/PHP and Database configs) = test.mydomain.com
- I need every request, to every site on the server to redirect to "down.mydomain.com". (including any sub directories, files, etc...)
- Obviously, "down.mydomain.com" can't be affected by the redirect.
- I need every request to "test.mydomain.com" to also allowed so I can properly test the configurations changes.
- Sites are spread over multiple IP addresses, not confined to just one.
Hope that makes sense. Thanks for your time.