[SOLVED] Edited Host DNS settings manually. Now Web GUI doesn't load, can SSH though

16o1denRatio

New Member
Jan 26, 2019
2
0
1
36
Was doing some troubleshooting, and noticed that I didn't see any DNS servers. So I went into /etc/network/interfaces and set dns-nameservers to 192.168.1.1 and 8.8.8.8 . Rebooted. Now the Web GUI doesn't come up. I checked the file, and it looks the same as before I touched it (no dns-nameserver field). I can access the host with SSH, but I just get timed out when connecting to https://192.168.1.200:8006/ through a web browser. Checked netstat -ltn | grep 8006 and it is set to listen.

Any ideas?
 
It was an issue with /etc/hosts . While troubleshooting a few weeks ago, I added this line that I read from an article, but never rebooted:

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 proxmox-host

After removing that line, and then changing /etc/hostname from proxmox-host to proxmox-host.local and then performing a reboot, I am now able to access the Web GUI for Proxmox.

FYI, now /etc/hosts , in regards to IPv4, only contains:

127.0.0.1 localhost.localdomain localhost
192.168.1.200 proxmox-host.local proxmox-host
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!