[CDB-3678] Creates api_hostname global variable