Include host in rest urls and call the respective host when accessing the hdc server.