When IIS is configured with multiple host-headers your WCF web.config has to be adjusted to use the correct prefix. Add the following sections to your system.serviceModel section:
<serviceHostingEnvironment> <baseAddressPrefixFilters> <add prefix="http://localhost:1122/"/> </baseAddressPrefixFilters> </serviceHostingEnvironment>