An easier option if you are running a clustered set up is to create a new cluster member with the required name.
Delete the old server and keep note of all the ports for the original server and state them as the port numbers for this new server(if you need the same port numbers)
If you are using a non-clustered environment, then create a template out of the existing server. Create your new server based on that template so you have all the required config. Now like earlier change the port numbers back to the original ones.
If the change in port numbers are not a problem for you then you don't need to perform that step.
HTH
Manglu