I set up some WMS layers on AIMS 2013. In Site Admin I configured server name and script name as required. But in my GetCapabilities document I still got the previous server name and script name (http://localhost:8008/mapagent/mapagent.fcgi). Any wms request therefore didn't work.
Solution: restart IIS service (World Wide Web Publishing Service).