Default host-naming behavior when you add a VM to an environment

When you add duplicate copies of a VM to an environment, any duplicate hostname is changed to prevent conflict.

The new hostname is host-X, where X is the number of the first VM with a changed hostname:

VM Name
VM 1 biz–host
First copy of VM 1 host-1
Second copy of VM 1 host-2
Third copy of VM 1 host-3
Fourth copy of VM 1 host-4
Fifth copy of VM 1 host-5

When you add duplicate copies of multiple VMs, the hostname sequence continues:

VM Name
VM 1 web-host
VM 2 db-host
First copy of VM 1 host-1
First copy of VM 2 host-2
Second copy of VM 1 host-3
Second copy of VM 2 host-4

If you add a new VM with a hostname that doesn’t conflict with any hostname in the environment, the new VM hostname isn’t changed:

VM Name
VM 1 other-host
First copy of VM 1 host-1
VM 2 another-host
Second copy of VM 1 host-2
Third copy of VM 1 host-3
Second Copy of VM 2 host-4

If you delete one or more VMs from an environment, the hostname numbering sequence fills in that “gap” before continuing the sequence:

VM Name
VM 1 other-host
First copy of VM 1 host-1
Second copy of VM 1 host-2
Third copy of VM 1 host-3
Fourth copy of VM 1 host-1
Fifth copy of VM 1 host-4

To edit the VM hostname, see Editing a VM hostname or primary IP address.