How to assign a Hostname for CentOS Linux Server
This tutorial shows you how to assign a hostname for a CentOS Linux Server.
|Step 1.||Log in to the server console as root user.|
|Step 2.||Open the file /etc/sysconfig/network using text editor, such as VI.|
|Step 3.||Edit the variable HOSTNAME='your hostname goes here', save and exit.|
|Step 4.||Reboot your server. Your server will boot up with the new hostname.|
Congratulations, you have assigned a hostname for the CentOS Linux Server.
Fantastic...Thank you for your feedback =)
Sorry... Please submit a support ticket or try another search.
Support ticket has been sent to your email, please check for your ticket id.
- How to assign an IP Address to CentOS Linux Server
- How to create and assign Name Servers in Linux VPS
- How to Configure SSH Server on Centos
- Install Apache Web Server under CentOS or Red Hat
- Configuring vsftpd FTP Server on CentOS