Rename current DNS or creating a new

Mike Lima

Verified User
Joined
May 6, 2015
Messages
13
I am trying to move a domain that is hosted on a server to another by changing the DNS nameservers.

DNS is something that cannot be absorbed by my brain.

I have read everything about directadmin and DNS but vital information appears to be missing.

This is my question.

I have ordered a server from an ISP and this is using DirectAdmin. This is a reseller package and I have root level.

I have added a first domain to it. Lets call this www.mydomain.com

NS1 and NS2 records were created and added to this domain, something like

mydomain.com. A X.X.X.X
ftp A X.X.X.X
localhost A 127.0.0.1
mail A X.X.X.X
ns1.mydomain.com. A X.X.X.X
ns2.mydomain.com. A X.X.X.X
pop A X.X.X.X
smtp A X.X.X.X
www A X.X.X.X
mydomain.com. NS ns1.mydomain.com.
mydomain.com. NS ns2.mydomain.com.
mydomain.com. MX 10 mail
mydomain.com. TXT "v=spf1 a mx ip4:X.X.X.X ~all"
localhost AAAA ::1


The problem is that this domain is already hosted on a similar machine and have already this ns1.mydomain.com and ns2.mydomain.com as nameservers, so it will be impossible for me to change the nameservers on the registar and make them point to mydomain.com on the new machine.

First thing I don't understand is this: if the domain already exists on another server and I am setting it on a new machine, how will these nameservers on the new machine respond to mydomain.com if mydomain.com is on another machine? I mean this: if I create a new nameserver name on the new machine, like newns1.mydomain.com and newns2.mydomain.com how will this work if mydomain.com is on another machine?

So my questions are:

1. how do I setup a new nameserver for all domains I have on the new machine
2. how will the registar know that this new nameserver name is on the new machine if the registar knows the domain to be on another machine? Man, I cannot understand that.
3. Please explain step by step without using complex terms. Explain it to me what I have to do, click, on directAdmin, as I am 5 years old... ok, make it 3 years old.
 
Hi

usually at registar you have to specify both NS host and NS IP, so they will always get their match and point to the right Nameserver(s) IP(s).

Once the registar know about the new Nameserver(s) IP(s) he will start to ask for new request to the new nameservers (it take up to 48hrs) and all the traffic will gradually moved to the new nameserver.

Once the new nameserver get "contacted" they will respond with the new IP (or the old one if you mantain the old server just for the data and the new is just for nameserver/dns)

I'm not sure i was quite clear, i'm sorry but english is not my main language so it happend that i know a concept but explain it is not that easy :D

Regards
 
thanks about the explanation but I cannot find that on my registar (godaddy.com). There are just fields for the nameservers, not IPs of the nameservers.

Also, can I name ns1.mydomain.com and ns2.mydomain.com on the new system to something else like newns1... and newns2... ?
 
Yes you can, but for sure somewhere in godaddy website there is where to set nameservers (i mean not in the specific domain, but an area where to set nameservers management)

Regards
 
Back
Top