boettiger wrote:
What should be listed in MX, Subdomain and DNS Zone File?
I don't have an account at GoDaddy so I can only answer in general terms.
MX specifies where the mail for a domain is to be delivered. The MX record
Code:
mydomain.com IN MX 0 mail.mydomain.com
specifies that mail for the mydomain domain should be delivered to the host mail.mydomain.com. You probably just have to specify the host for your domain and the preference value (0 in the example) in GoDaddy. If you have a backup mail server you can specify its address and give it a higher preference. Mail is delivered to the first available host, trying the one with lowest preference value first and moving on to the second lowest if the first machine is unavailable. If you have a host with the same name as your domain (i.e. the actual A record points to mydomain.com) then you don't need an MX record - all mail will be delivered to that host.
Subdomain is used if you have host addresses like myhostname.department.mydomain.com. department.mydomain.com is a subdomain of mydomain.com. You probably don't need this yet.
DNS zone file contains the A (address) or CNAME (canonical name) records that point to your hosts.
Code:
myhost.mydomain.com IN A 123.123.123.123
otherhost.mydomain.com IN CNAME myhost.mydomain.com
specifies the address for myhost.mydomain.com and says that otherhost.mydomain.com is an alternative name for the same machine. You can get by with just A records for each hostname to begin with.
boettiger wrote:
Aparently I cannot restart apache...
The warning messages that you got are symptomatic of a slightly screwed up Apache config (modules being loaded twice from two different config files) but are not the reason it won't start. You need to check the Apache logs to find the fatal error. My guess is that your hosts file is incorrectly set up. If your error log says
Code:
unable to find IPv4 address of "hostname"
then you need to edit /etc/hosts to have at least theses two entries:
Code:
127.0.0.1 localhost
123.123.123.123 myhost.mydomain.com myhost
(with your Linode's IP and names substituded appropriately).