Get host dynamically.