Depending on how many websites your IIS is running, you can do this by configuration manually pr. website - just add all the combinations to the application
OR you can develop a small "wildcard" redirector. Here comes the "programming answer" to a "server admin question":
Just make the default website on the IIS handle every "unknown" requested address.
The incomming URL could be looked up in a "valid list of domains" and redirect apropriately.
We have such a mechanism running on our servers.
The easy version (short hack) would be to examine if there is WWW in the requested URL and if not, then try to add it to the request and redirect the client to that address.
Beware: this makes the client do a serverroundtrip which generates extra trafic. So if you have like 2000 hits pr. minut and half of them is without WWW, the hack is probarbly not the best idea.
Usefull answer?