>> How do I give my local machine a host name? > >Try running "hostname" and "hostname -f". If you get the same output >i.e. no domain shown with hostname -f, then that is the problem. In my >case I had an entry in /etc/hosts such as >192.168.1.1 fred > >instead of the correct >192.168.1.1 fred.my.domain.tld fred > >It took some finding...
Hello Lindsay, I don't have a /etc/hosts. When I run hostname it says 'debian'. Same iwth hostname -f. Obviously this is my fault during setup. I'm sure I pressed the enter key without knowing full well what I was reading. Now, that being the case, how do I change my hostname AND give my server a name that apache will recognize? Thanks Andre