How to set hostname and domain name in CentOS 7?
Answers
Answered by
0
To change your hostname on CentOS 7, run the commands below to edit the hosts file. Then add a new line with the server IP address, fully qualify domain name followed by the server shortname. Then add the line below with the IP address of the server, the fully qualify domain name and the server short name.
Similar questions