Add to Favourites Add to Favourites    Print this Article Print this Article

Setting up Nameservers with Godaddy for DirectAdmin

You've purchased a domain from Godaddy, added it to a User in DirectAdmin, and now you want DirectAdmin to manage the DNS.
Let's assume your domain is called ,
and you want to use with ,
and with .
Both and should exist on your server. Many registrars allow you to use the same IP, if needed.
Ask your hosting provided which 2 IPs to use (can be the same IPs as other nameservers on the box)

  1. First, setup the DNS as desired in your zone on DirectAdmin:

    User Level -> DNS Management

    and add 2 "A" records for ns1/ns2:

    ns1    A
    ns2    A

    This will allow them to resolve once your nameserver is used.

  2. Next, on the same page, add 2 new NS records:    NS    ns1    NS    ns2

    pay veryclose attention to the trailing dot '.' characters, as they are significant.
  3. Lastly, delete the other 2 NS records that were there before you added yours.
  4. Now that the zone is setup on DirectAdmin, login to your Godaddy account to setup the rest.  First we need to add "Host" records, which are just like A records managed by the parent nameservers (godaddy), so that the nameserver IPs are known, so clients know who to ask for a lookup.   When logging into Godaddy, go to:

    Manage Domain -> -> Manage DNS -> Host Names

    and add ns1 for,
    and ns2 for

    At the time of this writing, the URL for Host Names looks like:
  5. now that the Host Names are set (may take a few minutes for them to make their way into the system), you'll need to change your NS records at Godaddy.  To do that, go to:

    Manage Domains -> -> Manage DNS -> Nameservers: Change

    and set the custom nameservers to and, and remove anything else that was there.
  6. Wait about 10 minutes, then check your domain status at:

    *before* you attempt to connect to your domain through your browser.  If you wait until it resolves before trying it in your browser, you'll save propagation delays where your computers/ISPs nameserver cache the "domain does not exist" or old value for ~4+ hours, so if you can wait until it resolves to the new NS servers before accessing it, you'll save yourself quite a bit of time, waiting for the cache to expire.

    Once show the new NS records, wait another few minutes, then test your domain. If it still doesn't work, wait longer :) as it's probably still a propagation delay.   As long as shows the correct NS records, and doesn't show any red, then it should sort itself out eventually.

Was this answer helpful?

Also Read