I'm trying to set up a web app hosted on my mac in which people on my network can access via http://custom.local/
I can access it on the mac since I have set up an Apache VirtualHost and in /etc/hosts
127.0.0.1 custom.local
I ran $ named-checkconf /etc/named.conf
which didn't return anything,
I ran $ named-checkzone custom.local /var/named/custom.local.zone
on
which returned
zone hercules.local/IN: loaded serial 2012032301
OK
but others on the network still can't access the domain.
I have in /var/named/custom.local.zone
;BIND db file for custom.local
$ORIGIN custom.local.
$TTL 86400
@ IN SOA custom.local. root.custom.local. (
2012032301 ; serial number as yymmddnn
15 ; refresh
3600 ; retry
3000000 ; expire
86400 ; min ttl
)
NS custom.local.
custom.local. IN A 127.0.0.1
and in /etc/named.conf
zone "custom.local" IN {
type master;
file "custom.local.zone";
};
also when I run $ rndc reload
and $ rndc flush
I get
WARNING: key file (/private/etc/rndc.key) exists, but using default configuration file (/private/etc/rndc.conf)
server reload successful
What am I missing?