Actually I have these two files under wwwroot. what I did for the problem:
1. I changed the map service URL links by using IP address instead of server names, then the application could be access by IP addrss or server name.
The strange thing is that:
If I don't use IP address for Map service REST URLs, then I get error like: a crossdomain file is needed, a security problem ( actualyl I have a crossdomain file).
But there is no problem for WCF service, I can use IP address or server name.
However, I don't think this is a solution using IP address for REST urls for the problem, because I have an emergency recover system, I have secondary ArcGIS server machine which are standbying, if the primary down, I could not simply switch DNS , I need to manually change the IP addr for my applications( inside code).
2. Worked with network system group, make the DNS name , alias name available for all people (in different locations) .
Thanks for your kind inputs.