How to change hostname on CentOS and Ubuntu

How to change the hostname on CentOS and Ubuntu

Changing the hostname on CentOS and Ubuntu is an easy task, just follow our guide carefully and you should have the hostname changed on CentOS or Ubuntu in less than 5 minutes. The hostname is used to identify the server when connected on a network and it is configured during the initial server setup. Changing the initial server hostname is a task that you might like to perform while you are using the server and in this tutorial, we will show you how to change the hostname on a Linux VPS running CentOS 7 or Ubuntu 16.04 as an operating system.

Read More