How Do I Change the Hostname on a Linux Server?
Contents How Do I Change My Server Hostname? Changing Your Server’s Host Name Log in to Server Administration Panel. Go to Tools & Settings > Server Settings...
Contents
How do I change my server hostname?
Changing Your Server’s Host Name
- Log in to Server Administration Panel.
- Go to Tools & Settings > Server Settings.
- Enter the new host name in the Full hostname field. This should be a fully qualified host name, but without an ending dot (for example, host.example.com ).
- Click OK.
Must Read
How do I change the hostname and domain name in Linux?
To change the server’s hostname, please use this procedure:
- Configure /etc/hosts: Open the file /etc/hosts with any text editor. …
- Setup the hostname using the command “hostname” Type this command to change the hostname; hostname host.domain.com.
- Edit the file /etc/sysconfig/network (Centos / Fedora)
25 окт. 2016 г.