title: In IIS hosted WCF services, how to disable address translation?
body: <p>When I publish my ASP.NET WCF service, the WSDL uses the machine name instead of the domain name. How to prevent this?</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;wsdl:import namespace="http://ListenerService" 
       location="http://MACHINE_NAME/ListenerService/service.svc?wsdl=wsdl0"/&gt;
  &lt;soap:address location="http://MACHINE_NAME/ListenerService/service.svc"/&gt;
  </code></pre>
  
  <p>When I really want:</p>
  
  <pre><code>&lt;wsdl:import namespace="http://ListenerService" 
       location="http://MYDOMAIN.COM/ListenerService/service.svc?wsdl=wsdl0"/&gt;
  &lt;soap:address location="http://MYDOMAIN.COM/ListenerService/service.svc"/&gt;
  </code></pre>