Cannot change server hostname
Cannot change server hostname
Cannot change hostname
VestaCp> Server> Configure> Hostname> Save
I'm changing the hostname by saying, and it is seen correctly when I check it via ssh.
When I restart the server, the old hostname is returned.
How do I change the hostname permanently.
Server -> DigitalOcean Centos7.5x64
Thanks
VestaCp> Server> Configure> Hostname> Save
I'm changing the hostname by saying, and it is seen correctly when I check it via ssh.
When I restart the server, the old hostname is returned.
How do I change the hostname permanently.
Server -> DigitalOcean Centos7.5x64
Thanks
Re: Cannot change server hostname
Virtual enviroment may can change hostname in reboot
Ask digitalocean, maybe you need change hostname in your digitalocean panel before reboot
Ask digitalocean, maybe you need change hostname in your digitalocean panel before reboot
Re: Cannot change server hostname
Try:
Code: Select all
sudo hostnamectl set-hostname host.domain.tld