In my workflow I've used the following for a http link to an item in sharepoint
workflowProperties.SiteUrl + ...
which returns http:\machinename\myweb
When people browse they use a domain name http:\sharepoint\myweb NOT the machine name. I believe there is an A record in IIS that does this routing. However if I was to browse http//machinename in the browser it remains as http//machinename. I want it automatically read http//sharepoint or in my workflow replace machinename to sharepoint.
Thanks