BIND/Apache troubles..

#1
Can anyone help me figure out why NLDMedia.com isn't working?

I have..
named.conf
..
zone "nldmedia.com" IN {
type master;
file "nldmedia.zone";
};
..

httpd.conf
..
<VirtualHost *:80>
DocumentRoot /home/nldmedia.com
ServerName www.nldmedia.com
</VirtualHost>
..

nldmedia.zone:

$TTL 86400
@ IN SOA ns1.nldmedia.com. root.nldmedia.com. (
2008021100
10800
3600
3600000
86400 )
IN NS ns1
IN NS ns2
server IN A 67.222.1.29
ns1 IN A 67.222.1.29
ns2 IN A 67.222.2.29
;alias
www IN CNAME server
ftp IN CNAME server


I can nslookup www.nldmedia.com and it goes to the right IP but nldmedia.com doesnt work? And i can't access apache even when i just put the IP?

Any help appreciated.
 
#2
You don't have a record for ndlmedia.com and Apache's VirtualHost block should contain something like

Code:
ServerName ndlmedia.com
ServerAlias www.ndlmedia.com
 
Top