I’m total newbie at hosting. I install ubuntu 10.04 and vrtualmin, I buy my domain from goDaddy and created two nameservesr there point to one dedicated IP of my server. Make the domain to point to that nameservers. So what’s next to properly work my server to host other domains know that I have to create NS records, SOA record… I wont to host other sites on the server. And do I need to setup my domain name of the server like the main domain name?
Does domain BIND should look something like this $ttl 38400
@ IN SOA ns1.yourdomain.com. info.youdomain.com. (
2008071175
14400
3600
604800
38400 )
${DOM}. IN A ${IP}
${DOM}. IN NS ns1.yourdomain.com.
${DOM}. IN NS ns2.yourdomain.com.
${DOM}. IN MX 1 ${DOM}. http://www.${DOM}. IN CNAME ${DOM}.
pop.${DOM}. IN CNAME ${DOM}.
localhost.${DOM}. IN A 127.0.0.1
ftp.${DOM}. IN A ${IP}
mail.${DOM}. IN A ${IP}
Outside of that, there’s really not anything else you need to change in regards to DNS records.
One thing you can do to test your DNS is to go to intodns.com, and have them run a DNS report on your domain(s). They’ll help you identify if there’s any outstanding issues with your DNS setup.