{"id":21454,"date":"2017-02-15T07:42:45","date_gmt":"2017-02-15T13:42:45","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=21454"},"modified":"2022-12-09T04:03:43","modified_gmt":"2022-12-09T10:03:43","slug":"how-to-change-the-hostname-on-centos-and-ubuntu","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-change-the-hostname-on-centos-and-ubuntu\/","title":{"rendered":"How to change hostname on CentOS and Ubuntu"},"content":{"rendered":"
<\/div>

\"How<\/p>\n

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.
\n<\/p>\n

\n

Table of Contents<\/p>\n