Change System Hostname

When you access the Cockpit web console the hostname assigned to the system appears in the Configuration section of the Overview page. Cockpit administrators can choose to change the properties assigned to the Real hostname (Static or Transient) or the Pretty hostname (free-form UTF8) as needed.

Note:

A transient hostname, such as localhost appears by default whenever a Static or Pretty hostname isn't configured.

What Do You Need?

Steps

Using the Cockpit web console, follow these steps to change the existing hostname assigned to the host system.

  1. In the Cockpit navigation pane, click Overview.

    The Overview page appears.

  2. In the Overview page, navigate to the Configuration section and find the Hostname field, then click Edit.

    The Change host name dialog appears.

  3. In the Change host name dialog, change either the Pretty host name field or the Real host name field, and click Change.