Step 1: Login to your VPS
Locate the IP address of your AKLWEB Host VPS and login as the root user.
Step 2: Use the hostname utility
Change your hostname to a different name of your choosing. For example:
Step 3: Edit
/etc/hosts file with your favorite text editor. For example:
Change the first line and replace your old hostname with the new one. Save the file and exit the editor.
Step 4: Edit
This file also contains your hostname. Open the
/etc/sysconfig/network file with your favorite text editor.
HOSTNAME=akl-web-host to your desired hostname. For example:
Step 5: Check your hostname
Run the following command to check your new hostname:
The new hostname will be displayed in your ssh terminal.