Connect directly to the ESX server using the VI client (as opposed to the VirtualCenter server.) Click on the host, go to the Configuration tab, "DNS and Routing", Properties.
You can change the host name and other DNS settings from there.
You should be able to re-add the host with the correct name to VC after that.
Thank you. I was trying to change it via the service console via ssh. I didn't realize that it can be done via VC. Im still curious as to how I would have done it the old fashion way.
I ran the command : hostname <xxxxxx) but that doesn't change it permanently. Would you happen to know what changes it permanently?
Mike Laverick has a document for this in the ESX 2.x world, but I don't think it's been updated for ESX 3.x: http://www.rtfm-ed.co.uk/docs/vmwdocs/ESX2.x-ServiceConsoleCommands.pdf
It gets a bit messy, since you have to start hacking Apache configs, regenerating SSL certs etc.
I fyou do it through the VI Client it will require a reboot of your ESX host as I understand it
This is a great document. I wish there was something like this for 3.x.x