WCF and Multiple Host Headers

后端 未结 5 2064
甜味超标
甜味超标 2021-02-06 01:51

My employers website has multiple hostnames that all hit the same server and we just show different skins for branding purposes.

Unfortunately WCF doesn\'t seem to work

5条回答
  •  Happy的楠姐
    2021-02-06 02:34

    A simple workaround that doesn't involve any code or config changes is to create yet another website in IIS which points to the same physical directory, and the same app pool, but with a different host-header binding. This can be done for as many different host names as you have.

提交回复
热议问题