This article provides steps to change the hostname of a VMware ESXi host.
If the hostname and DNS configuration revert to original values after rebooting the VCSA machine see VMware vCenter Server Appliance hostname and DNS configuration revert after a reboot
VMware vSphere ESXi 7.X
VMware vSphere ESXi 8.X
VMware vSAN 7.x
VMware vSAN 8.x
To rename a VMware ESXi host using the HTML5 client:
The iSCSI Qualified Name used for iSCSI storage configuration is based on the hostname of the ESXi host. If you are facing a storage connectivity issue after changing the hostname of the ESXi host, make sure to review your iSCSI software initiator configuration.
Unable to rename the iSCSI initiator on the ESXi host
Disabling vNetwork Distributed Switches