Is it possible to transfer an IP address from one host to another?

8,590

Solution 1

First of all, you cannot bring the IP address along as you move to another hosting provider. IP addresses can only be moved between hosting providers, if you have a block of addresses, which was large enough to be announced over BGP.

Any approach you take to moving would require a transition period where you are using one IP at the current hosting provider and one IP at the new hosting provider.

If you are hosting only the website and not DNS for the clients, then the clients will have to update their DNS records, wherever they are hosted. For subdomains, this could be avoided, if the customer was using a CNAME record. The CNAME record has a tiny additional overhead to look up, but that is rarely significant. A CNAME record could be used for www.example.com, but it would not work for example.com itself, since it would have to be the only record, and example.com would have a NS record and possibly MX record as well.

So in that situation there is really no way around coordinating the transition with the customers.

If you were hosting DNS for your customers as well, they could have their NS records point to names inside your own domain. That way they don't need any glue, and their domain will have no IP addresses other than on the DNS servers you host for them. As with the CNAME records, this has a tiny additional overhead.

This approach however does require you to host their entire DNS zone, and you would have to be hosting it at two or more different hosting providers to provide high availability.

Solution 2

Your assumption that pointing a "nameserver" for a domain to an IP address is correct. Porting the IP over while "possible" does not sound like you meet the requirements to achieve this.

You need to do this in stages. The first of which is getting the nameserver for each domain pointed to a DNS record which resolves to the same IP address they use today. There should be no impact for doing this. Then you'll stand up a new DNS server that will deliver the same responses, and update the DNS record from the old server to the new. You'll just have to be diligent and trust in the data you do have, thats all you can do.

Share:
8,590

Related videos on Youtube

Sharron Denice
Author by

Sharron Denice

I really don't care for these "About Me" descriptions but my friend wrote one about me and I just have to share it. It makes me feel special giggle Sharron Denice is an entrepreneur, artist, author, web-designer and software developer as well as a pretty amazing human being.

Updated on September 18, 2022

Comments

  • Sharron Denice
    Sharron Denice over 1 year

    I have a client that created over 600+ websites whose DNS records point to an actual IP address and not name servers. They are looking to move from their current host and do not want to lose their IP address. If the IP address has to be changed, then it would need to be changed in the DNS records of all 600+ sites.

    Is there a way to keep the IP address when transferring to another host?

    Is there a work-around that they can use to avoid manually changing all the sites?

    • Michael Hampton
      Michael Hampton over 9 years
      I don't follow this. Exactly what did they do to their DNS records? Give a clear example.
    • Sharron Denice
      Sharron Denice over 9 years
      My client is a web host affiliate. They host websites on their servers. Instead of making their nameservers mynamesever.com they only use IP addresses. When my client gains a new customer, they point their (www.mycompany.com) to 10.127.12.4 instead of mynameserver.com. They have done this over 600+ times. For domains that they registered it would be no big deal, but some of their clients registered their domains with another host and had to update their own DNS records to point to this IP. Every customer's nameservers point to an IP not a host name.
    • SpacemanSpiff
      SpacemanSpiff over 9 years
      Changing 600 DNS records would take about 0.9 seconds using a script and then the time it takes for TTL and name servers to update. Why is this unacceptable?
    • SpacemanSpiff
      SpacemanSpiff over 9 years
      And clarify what is moving, the nameserver or the webhost.
    • Sharron Denice
      Sharron Denice over 9 years
      @SpacemanSpiff but for about 75% of their customers? They had their own domain and its not on an accessible server. For the domains that they host it wouldn't be much of a problem. But for the rest? I can't think of a logical solution.
    • Sharron Denice
      Sharron Denice over 9 years
      @SpacemanSpiff - They had GoDaddy as their host, now they are having major problems so now they need to move to a new host. I suggested a private server, right now they are using shared hosting.
  • Hyppy
    Hyppy almost 9 years
    This doesn't work if you're going to be moving to a different AS. Heck, it doesn't work if you're moving to a different broadcast domain. Honestly, I can't think of a case in which this would be a reasonable solution.