Seting a new hosting server

3 posts / 0 new
Last post
#1 Thu, 09/01/2011 - 13:58
tinki

Seting a new hosting server

Hi

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?

Tansk Tina

Thu, 09/01/2011 - 17:41
tinki

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}

or

$ttl 38400
yourdomain.com.    IN    SOA    ns1.yourdomain.com. info.yourdomain.com. (
            1055026205
            6H
            1H
            5D
            20M )
yourdomain.com.        IN    A     1.2.3.4
mysql.yourdomain.com.  IN    A     1.2.3.4
www.yourdomain.com.    IN    CNAME yourdomain.com.
ns1.yourdomain.com.    IN    A     1.2.3.4
ns2.yourdomain.com.    IN    A     1.2.3.5
yourdomain.com.        IN    NS    ns1.yourdomain.com.
yourdomain.com.        IN    NS    ns2.yourdomain.com.
mail.yourdomain.com.   IN    MX    1 yourdomain.com.

To work everything ok?

And info.youdomain.com should be my domain name of the server?

Thu, 09/01/2011 - 18:54
andreychek

Howdy,

There's some information here on setting up your nameservers in the section "How do I setup nameservers for my server?":

http://www.virtualmin.com/documentation/dns/faq

It sounds like you've much most of that already.

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.

-Eric

Topic locked