Changing Server Hostname

Changing Server Hostname

To change your hostname, enter the following command as root:

$ hostname servername.yourdomain.com

If you are using cPanel, you will need to resync your license with the cPanel license server.  To do this, use the following command:

$ /usr/local/cpanel/cpkeyclt

    • Related Articles

    • What is the FTP Server?

      The FTP server is ftp.yourdomain.com and the login/password are the same as those you use to access your control panel.
    • Migrating Accounts to your server

      Most control panels have built in control panel to control panel migration tools that you can take advantage of. We also offers free migration assistance where we can do the transition for you. Below is step-by-step proceedure to ensure a successful ...
    • Ranges to allow through server firewall

      Frontend (public) network: Ports to allow: ICMP – ping (for support troubleshooting) All TCP/UDP ports Backend (private) Network: IP block: your private IP block for server to server communications (10.X.X.X/X) Ports to allow: ICMP – ping (for ...
    • How do I know what server I am on?

      You can find out what server you are on using two different ways, each one revealing which server you are on. Method 1: Welcome Letter If you stored your welcome letter, you will find the server that you are on. If you do not have the welcome letter, ...
    • How can I monitor what my MySQL server is doing?

      A handy little Linux application called mytop fits this just perfectly. This is a near-time monitor just like the UNIX utility 'top' that specifically looks at what the MySQL server is doing. It updates every few seconds so you can get a reasonable ...