DAR-730: Fixed getting entry point for api when db name is other than host name