Set host for api