base the metadata host on whether content server is running locally