-4

I'm transferring web hosting for one domain from provider A to provider B. Now what I want is only the web server is to be transferred excluding the email hosting.

Which settings I'll do in order to get what result I wanted to have?

  1. Setting the DNS "A" record or
  2. Changing the nameservers
MadHatter
  • 79,770
  • 20
  • 184
  • 232
  • What do you mean by "Changing the nameservers" ? – Vinz Dec 04 '13 at 10:21
  • Possible duplicate of [serverfault.com/questions/116359](http://serverfault.com/questions/116359) ? – HBruijn Dec 04 '13 at 10:24
  • This question shows a distinct lack of understanding of DNS fundamentals, as well as a lack to do your own research in an age where this information is easily available online. – Drew Khoury Dec 04 '13 at 10:59

2 Answers2

4

I'll answer the question in 2 stages:

1. What is setting the DNS “A” record

the "A" record usually maps ip address to hostname

For example

your servers ip address is: 10.10.10.10 your domain name is: yoursite.com

so your A record will be

yoursite.com   IN      A       10.10.10.10

From the A record you can branch out prt and c names

For example a cname would be: blog.yoursite.com

2. Changing name servers

This is literally changing your dns provider from one company to another.

So to answer your question you need to migrate all your records from your old DNS provider to your new one

rezizter
  • 228
  • 3
  • 9
2

You just have to change the A record to match your webserver's new IP address.

Vinz
  • 712
  • 4
  • 13