Use location.hostname for VMs