fixes virtual domains to use the host-name