Changing the hostname and resolving a fully qualified domain name
In this recipe we will learn how to change the hostname and resolve the Fully Qualified Domain Name (FQDN) of your server.
The process of setting the hostname is typically associated with the installation process but on many occasions there comes a time when the name used is either incorrect for a technical reason or you just don't like it any more. For some people the name of the server lacks importance, but for many others, a good server demands a good name and so it is the purpose of this recipe is to show you how quickly the hostname can be changed with the intention to revise and resolve the resulting fully qualified domain name.
Getting ready
To complete this recipe you will ...
Get CentOS 6 Linux Server Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.