Why don't you have access to the DA control panel? Because changing half the server via SSH will be a hard thing to do probably.
How to change the hostname in the OS is depending which OS. Most likely with the hostnamectl command. Check your /etc/hosts and /etc/hostname files afterwards, probably reboot is needed.
To change hostname in DA your can use this command:
/usr/local/directadmin/scripts/hostname.sh