To change your server’s hostname in Plesk, First Log in to Server Administration Panel.
Go to Tools & Settings > General Settings > Server Settings.
Enter the new host name in the Full hostname field.
This should be a fully qualified host name, Click OK