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

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Access your Folders(Linux/Centos) using WinSCP

Guide on how to access the folders in your vps linux! This is the easiest way, First make sure...

How to traceroute your VPS IP?

How to Use the Traceroute Command Traceroute is a command which can show you the path a...

Command line bandwidth monitors for Linux

If you are a Sysadmin, monitoring bandwidth usage on your server is an important task. We agree...

Check the RAM Usage in Linux

1. Login to your VPS using Putty. 2. Type: free -m

How to do “mysqladmin flush-hosts” on VPS server?

How to fix this error "MySQL Database Error: Host '127.0.0.1' blocked because of many...