It worked for me.If you want to change the hostname, do it from the Admin Panel -> Admin Settings. It will call the "hostname.sh" script in the scripts directory which should take care of the change.
Here's a quote from an email I have in my files from DirectAdmin support:
It worked for me.
Jeff
You just did, by going via SSH to the server and check the hostname.how to double confirm if my server hostname has been properly changed?