I have two servers with GoDaddy both, using simple Control Panel. One is a VPS and one is Dedicated. Let's say the VPS has the IP of and is called example.com and the dedicated has the IP of and has the domain of example.net.

I would like to switch the name servers between the two using simple control panel. GoDaddy couldn't help me much but they said I needed to change the name servers and change something called the "a records". I want the name servers to swap, but the IPs to stay the same. How do I do this?

Also, my email addresses are all on the VPS, and GoDaddy claims that the email will stay intact when I change name servers because they are using a special GoDaddy thing. Is this true? The @example.com part won't change to @example.net if I change the name servers?

Here is the DNS part for the Dedicated server

Primary Name server ns1.example.net

@    | A    |
@    | NS   | ns1
@    | NS   | ns2
@    | A    |
@    | A    |
@    | MX   | mail
www  | A    |
ftp  | A    |
ssh  | A    |
mail | A    |
  • What? Why are you changing nameservers? While leaving the domains and IPs? – mailq Aug 9 '11 at 19:25
  • I guess I'm wording it wrong? I want my domains swapped... so the domains are linked to the other server, not the initial one. Sorry for the confusion. – mcf2 Aug 9 '11 at 19:33

You don't want any name servers to change you just want those host names to point to the opposite server. You've got a whole lot of "extra" terminology in there, and most of it doesn't apply to your situation at all; hence confusing the GoDaddy first line support.

Whoever hosts your DNS, probably GoDaddy, you need to change the A Records for your servers. Each server likely has a Default record (@) or a www record pointed to the relevant IP (these are both records of type "A"). You need to change the IP under each record so it points to the other.

If you can't figure out how to do this; call support again and explain to them using the terminology from the 2nd paragraph of this Answer. They'll understand that.

E-Mail is servers are determined by a record type of "MX", so changing the "A" records will not change the mail server.

  • Wow, thanks so much for the info Chris. I REALLY appreciate your help! If you look at my initial post, i added more details... can you help tell me what I need to change for both servers? – mcf2 Aug 9 '11 at 19:31
  • So you're running the DNS on your server? This is starting to sound very messy. – Chris S Aug 9 '11 at 19:34
  • I suppose I've been using my terminology wrong! I have two servers with their own ips and they each have their own domain names... I simply want to swap those domains to use the others' server. Sorry for the confusion. All I have to do is change the @ A Record IP to the opposing server to do this? – mcf2 Aug 9 '11 at 19:37
  • ... not to mention the multiple A-Records – mailq Aug 9 '11 at 19:37
  • mailq, forgive me. I'm new to changing domains, this is my first time doing so. Do I have to change all of the @ A record IPs? – mcf2 Aug 9 '11 at 19:40

Assuming you want all of the domain records for Server A to now point at Server B and vice versa, I'd do this:

Point @ for example.net to Server A IP.

Point all other DNS records for example.net to @.example.net

Rinse and repeat for Example.com and Server B

If you wish to mess around with it in the future, you should only have to change one record per domain.

  • Okay so all of the records I listed in my above post will need to changeto the opposing server? What about mail? – mcf2 Aug 9 '11 at 21:46
  • "all of the records I listed in my above post will need to changeto the opposing server?" Yes "What about mail?" MX record points to mail, as is mail points to @ Infuture, you should only need to change the @ A record and everything changes, assuming it all remains on one server per domain. – BoBo Aug 11 '11 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.