Your Ad Banner Here

Jul 192009

If you have vps or dedicated server then it is very easy to run hosting and running your own name servers on it. If you domain name servers are same as your domain name, that would be very professional instead of pointing name server to other web hosts. For example if you have domain name www.musicgk.com and you want to set name servers like ns1.musicgk.com and ns2.musicgk.com

If direct admin or cpanel is included with your vps or dedicated server then it would be much easier for a beginner.

In this tutorial I will tell you step by step about how to setup your nameserver step by step with the help of direct admin. What you will need is vps or dedicated server with at least 256 MB ram and direct admin running with it. Get minimum 2 IP addresses allocate to you else it would not be possible to run DNS nameservers. To run DNS nameservers with 1 IP is possible thing but most of the domain registrars do not allow nameservers with 1 ip so get minimum 2 IPS. Mostly hosts would charge around 1$ or 2$ for single IP per month.

METHOD:

  • Login to your direct admin control panel. There go to “user level”. Select “domain management area” and “add domain”.
  • There just enter your domain name like yourdomainname.com. Once you will add your domain you will get confirmation message like “your domain has been already setup
  • Now remaining part is setting up your nameservers. For that go to “reseller level” and there you have to select “nameserver management”. Just select 2 IPs and create name server with the domain which you have created in earlier step. Now your name servers will be ns1.yourdomain.com and ns2.yourdomain.com.

Now this step is very most important for you to make your created name servers working.

Note: Just creating name server and enter them into your domain control panel will not work. For make it working properly you have to register your name server with your domain name registrar. After doing this your DNS entry will work else it will give you Error messages.

  • So, How to register domain name server with registrar? Here in this tutorial I will let you know how to register your domain name server with Godaddy. If you are using Godaddy go to “domain details”. There go to “domain summary”. There in “View/modify” option you have to register your name servers along with 2 IPs. Enter ns1.yourdomain.com, ns2.yourdomain.com along with 2 ip addresses we have used for our name server.
  • Now you are done. You can modify your nameserver in your domain control panel to your newly created nameservers.


Enoy!!!

5 Responses to “HowTo: Setup Own DNS Name Server in VPS/Dedicated Server with DirectAdmin (tutorial)”

  1. [...] admin wrote an interesting post today onHowTo: Setup Own DNS <b>Name Server</b> in VPS/<b>Dedicated Server</b> with <b>…</b>Here’s a quick excerpt [...]

  2. tutorials web hosting, security, graphic design,sshcommands, cpanel scripts says:

    As technology evolves these web hosts are changing as well, providing various services in addition to plain vanilla web hosting.

  3. tutorials web hosting, security, graphic design,sshcommands, cpanel scriptstutorials web hosting, security, graphic design,sshcommands, cpanel scripts says:

    Some large web hosts own their own datacenter (collection of servers), some rent a server from a larger web hosting company and then resell the space under their own company name. In this case the web host will manage your account on the server, but they will be renting the actual web space from another much larger company.

  4. g says:

    but how about if we have our VPS
    but not having DirectAdmin,

    bcoz it’s just Linux… no panel panel and those stuff…

    my vps was running on linux…
    and eventough i have done storing my web apps
    there with tomcat…

    i confused how to ocnfigure the dns
    because,

    i already bought domain name
    such as myname.com but it was bought
    from the different than the VPS…

    how could I deal with it?
    I found out there is directadmin panel
    for the non-VPS… but Dont know how…

  5. romio says:

    well i don’t really have direct admin or cpanel!! so how can i get my own name server to link the the domain name?

Leave a Reply

(required)

(required)

Powered by Yahoo! Answers