Answer the question
In order to leave comments, you need to log in
How to change hostname on ubuntu server?
Hello. There is a server on ubuntu server.
Result of hostname command: Jus
/etc/hosts
127.0.0.1 localhost
127.0.1.1 Jus
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Answer the question
In order to leave comments, you need to log in
The hostname command will show you the local name of your system, what is written in /etc/hostname
2ip.ru shows you nothing more than a reverse record to your ip address ( PTR The
question is, for what purpose do you want to change the hostname?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question