0

I am using Proxmox. I tried to run new OpenVZ container and I set my recently registered domain as a hostname in format "three digit number dot ie" (XXX.ie). The problem is, that after starting server, no matter what is written in files /etc/hosts and /etc/hostname the command

hostname -f

alway gives me answer just XXX (without dot ie). This way my domain is not FQDN and I'm having troubles with installation of any software.

I think it is Proxmox bug, because I tried to change hostname to, for example, to test.ie and it worked as it should.

I just querrying myself that maybe I should try set this domain name with quotation marks or any other trick which I don't know.

0

Problem sorted for me. Just changed distro to CentOS 6 and numerical hostname works fine. No clue, why it didn't work with Debian 7

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.