switch domain name for host array