User Tools

Site Tools


change_hostname

This is an old revision of the document!


Change Hostname

Jul 2017


To change the hostname in CentOS:

1.Using a text editor, open the server’s /etc/sysconfig/network file.

  HOSTNAME=myserver.domain.com



2.Modify the HOSTNAME= value to match your FQDN hostname.

  HOSTNAME=myserver.domain.com
  
  or
  HOSTNAME=Packager



Save and restart.

change_hostname.1499865709.txt.gz · Last modified: 2023/03/09 22:35 (external edit)