web_publisher bug fix: hostname was always localhost for datacentre