Change Fully Qualified Domain Name Linux. Hostnamectl set-hostname hostyour-fqdn-here. Change the vCenter Servers Hostname or FQDN to its new desirable name then click Next to continue.
In the left menu select Configuration. Now edit the etchosts file in system. Host name file etchostname will only provide host name with fully qualified domain name.
Hostname new-hostname-here hostname ln-sg-vpn-1.
FQDN is combination of hostnamedomain-name. In the left menu select Configuration. Select Save at the top of the page. The recommended method of setting the FQDN is to make the hostname be an alias for the fully qualified name using host file ie etchosts DNS or NIS.