Tried to change hostname, screwed it up, reverted and now this in the UI

tonyrsso

New Member
Oct 4, 2022
1
0
1
IP and hostname will be redacted for privacy

I'm getting this error in the WebUI and cannot manage any VMs
Code:
Error hostname lookup '1xx-1xx-201-18' failed - failed to get address info for: 1xx-1xx-201-18: Name or service not known (500)

cat /etc/hosts (domain is pointed towards IP)
Code:
127.0.0.1 localhost.localdomain localhost
1xx.1xx.210.18 1xx-1xx-210-18.static.xxxx.com 1xx-1xx-210-18

# The following lines are desirable for IPv6 capable hosts

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

cat /etc/hostname
Code:
1xx-1xx-210-18


systemctl list-units --failed
Code:
  UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.
 
Use a hostname that doesn't start with a digit and make sure both /etc/hostname and /etc/hosts have the same one configured.