You are here
Andrew Bryant - Fri, 2013/05/10 - 13:46
I'm trying to change the hostname of a LAMP Turnkey instance and once it's rebooted, the hostname is '(none)' (and is detected by third-party clients as such).
Any clues why?
Forum:
Tags:
Is there honestly no answer
Is there honestly no answer to this issue?
I have no idea how to do it with Webmin
But if you update /etc/hostname and /etc/hosts with the new name and then restart your networking (or just reboot).
You can do it in Webmin by
You can do it in Webmin by navigating to Network > Network Configuration > Hostname & DNS Client.
Incidentally, it does seem it's a bug in both Webmin and Debian/Linux - my chosen hostname had an underscore in it (illegal character) but the system (either Webmin or the actual kernal) doesn't *stop* you using it. It just fails to apply the hostname, setting it to (none).
Changed the _ to - (as per here) and it's all peachy.
Did you configure it in DNS?
If so you'll also need to set it there. Or perhaps it's just been cached somewhere?
I have a DNS server running on my netwrok and just configured my desired hostname there and http(s) works as expected.
Add new comment