I'm trying to configure a Ubuntu 10.4 server and have a little confusion with configuring with hostnames.
My domain is example.com and the hostname would be one. If I'm correct, when I've configured this properly, typing hostname at the prompt would yield one and hostname --fqdn would yeild one.example.com. Am I right?
Could you tell me what values I would need to put in /etc/hostname and /etc/hosts?
Although a very trivial thing, I haven't been able to configure it to get the desirable output. I'm definitely missing something here.
Thanks everyone.
