I have some confusion about the /etc/hosts and /etc/hostname files. Yep, I'm new to both linux and apache. I followed the linode setup guide, but I think I missed something. First, when I restart apache I get an error:
apache2: apr_sockaddr_info_get() failed for snake
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Second, how do I create a Fully Qualified Domain Name (FQDN)? The examples I've looked at seem to have many different formats such as
www.domain.com, mail.domain.com, host.domain.com, something.domain.com. How do you know what to put in for the first part (????.domain.com)?
Third, does the name of my linode under Linode Manager make any difference?
My /etc/hostname file
Code:
snake
My /etc/hosts file
Code:
127.0.0.1 localhost
74.XXX.XXX.XX snake.myDomain1.com myDomain1
74.XXX.XXX.XX snake.myDomain2.com myDomain2