Yes, you need to change the server and client bindings. Check clientVia .
On the server: Add the listenUri attribute to the endpoint and change the address name to your service using the urn. (name for customer)
<endpoint address="urn:MyService" listenUri="https://localhost:443/MyService" binding="customBinding" bindingConfiguration="NetHttpBinding" contract=Interface.ITradingPlatform"/>
On the client:
For example, instead of specifying the URL in the endpoint address field, add an urn, and then add the behaviorConfiguration attribute:
<endpoint name="ServerHTTP" address="urn:MyService" binding="customBinding" bindingConfiguration="NetHttpBinding" contract="Client.ITradingPlatform" behaviorConfiguration="BehaviorHTTP"> </endpoint>
You also need to define the behavior of the Configuration:
<behaviors> <endpointBehaviors> <behavior name="BehaviorHTTP"> <clientVia viaUri="https://yourdomain.com:443/MyService"/> </behavior> </endpointBehaviors> </behaviors>
source share