Locate the IP address of your AKLWEB HOST VPS and login as the root user.<\/p>\n
Open the\u00a0 Update the hostname in this file. Then save the file, and exit the text editor.<\/p>\n Open the\u00a0 Change the first line and replace your old hostname with the new one. Save the file and exit the editor.<\/p>\n Run the following command to update your hostname:<\/p>\n Run the following command to check your new hostname:<\/p>\nssh root@server<\/code><\/p>\n
Step 2: Edit\u00a0
\/etc\/hostname<\/code><\/h3>\n
\/etc\/hostname<\/code>\u00a0file with your favorite text editor. For example:<\/p>\n
nano \/etc\/hostname<\/code><\/p>\n
Step 3: Edit\u00a0
\/etc\/hosts<\/code><\/h3>\n
\/etc\/hosts<\/code>\u00a0file with your favorite text editor. For example:<\/p>\n
nano \/etc\/hosts<\/code><\/p>\n
Step 4: Run\u00a0
hostname.sh<\/code><\/h3>\n
\/etc\/init.d\/hostname.sh start<\/code><\/p>\n
Step 5: Check your hostname<\/h3>\n