Basically when you purchase a kvm/OpenVZ vps from vendor , they provide a hostname with private ip for management . the ip is providing by aliasing.
The hostname can be configured as follows:
Static host name assigned by sysadmin. For example, “server1”, “wwwBot2”, or “host.datahead.biz”.
Transient/dynamic host name assigned by DHCP or mDNS server at run time.
Pretty host name assigned by sysadmin/end-users and it is a free-form UTF8 host name for presentation to the user. For example, “Rubel’s netbook”.
I had the same issue , and I have fixed the issue . Please follow the below guide ,
it's really helpful .Set Hostname Permanentlyhttps://www.awsmonster.com/2019/01/cwp-installation-perquisite-set.htmlDisable Network Manager & Set Static IPhttps://www.awsmonster.com/2019/01/cwp-installation-perquisite-disable.htmlAnd Finally use the command
chattr +i /etc/hostname