I have a WCF service that is hosted in IIS on a public web server, and needs to be discoverable.
Thing is, when I browse http://myserver.mydomain/myfolder/myService.svc, the page that is displayed shows the actual machine name instead of the URL I provided, e.g. http://myRealServer.myRealDomain/myFolder/myService.svc?wsdl as the link to view the WSDL.
Similarly, if I connect to the service through a tool such as soapUI, the links to the additional "wsdl0" outputs etc. are provided with the real server details instead of the URL I provide (thus making the service undiscoverable).
My question: How do I change this URL to display correctly?
Note: My development environment uses IIS6 on Win2003, the live environment is IIS7 on Win2008, the problem occurs in both environments.