I recently inherited a new Mac Pro, and I'm attempting to turn it into a full web server so I can hopefully stop paying someone else to host my sites for me. I've had limited experience messing around with setting up servers, but I have next to no experience with DNS. Anyway, what I've done so far is get the server to serve up pages locally but crossing the bridge to get it up on the internet has me stumped. I'm not sure what to enter as my nameservers on the domain host's site.
Using something like http://freedns.afraid.org/ I can simply point one of their subdomains at my public IP and everything is great. I own my own domain, however, and I don't know what the next step is... if I understand correctly I must either pay for a 3rd party DNS hosting service (like http://dyn.com/dns/) or install a DNS server on my server. The latter option sounds great since OSX Lion comes with one pre-installed it seems (BIND?), but I'm scared im overcomplicating things.
I don't know what information is most important here, but when I attempt to follow tutorials on setting up BIND I run into the following error:
WARNING: key file (/private/etc/rndc.key) exists, but using default configuration file (/private/etc/rndc.conf) rndc: connect failed: 127.0.0.1#953: connection refused
What's my next step? I have the Server app (and have changed the hostname to match my domain name) and Server Admin, which allows me to create DNS zones if that's relevant. Any tips are appreciated!