/
Changing the DNS Name of a Linux Virtual Machine
Changing the DNS Name of a Linux Virtual Machine
It may be necessary to edit the DNS name of a Linux virtual machine. This can be accomplished following these steps:
View the current hostname of the virtual machine: SSH into the machine and execute the command
hostnamectl status
.
Execute the command
hostnamectl set-hostname <NAME>
to set the system hostname.
Restart the VM to allow the modifications to take effect.
If any issues are encounted using the above commands, an alternative technique is to manually edit the file /etc/hostname
to update the hostname.
, multiple selections available,
Related content
Changing the DNS Name of a Windows Virtual Machine
Changing the DNS Name of a Windows Virtual Machine
More like this
Configure Azure Active Directory for Azure Storage Account Authentication
Configure Azure Active Directory for Azure Storage Account Authentication
Read with this
Modifying MSA DNS Server IP Address and Hostname
Modifying MSA DNS Server IP Address and Hostname
More like this
Collecting JetStream DR Support Logs
Collecting JetStream DR Support Logs
Read with this
JetStream DR Plugin Fails to Load – Error Connecting to MSA
JetStream DR Plugin Fails to Load – Error Connecting to MSA
More like this
Renaming a Protected Domain
Renaming a Protected Domain
More like this