Answer:
From the console type “esxcfg-advcfg -s <your new server name> /Misc/HostName”. Then restart server.