Question

What happens to the IP if my server's host crashes?

  • Posted on November 10, 2013
  • manuchAsked by Manuel W.

I am a new customer thinking about migrating my VMs from Amazon EC2 to DigitalOcean. So far I’m pretty impressed with everything.

Still, I have a question on my mind. Amazon has an explicit “Elastic IP” management page where you can get your IPs and assign them to your VMs. DigitalOcean doesn’t have this.

So here’s what’s been bothering me: what happens if for some reason the host where my VM is running crashes, becomes defective and is replaced with a new one? I will of course restore my VM from a backup/snapshot and all is good - but will I get a new IP?

I’m planning on running a small web hosting, and changing the IPs of all sites because of a server crash sounds very complicated. How is this handled?

Thanks for your help.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Thank you, it’s good to know that the IP doesn’t change in this case. <br> <br>But related to your answer where you say that “it doesn’t have to be complicated” even if the IP changed: what do you mean exactly? I agree that I can use CNAMEs to point www hostnames to for my customer’s domains. But how do you handle the domain apex issue? You can’t redirect “domain.com” to a CNAME. You’d have to change those manually in the DNS. Or have you found a solution to this?

<b>“… but will I get a new IP?”</b> <br> <br>No. You can keep your old IP, under the scenario you described. <br> <br><b>“… changing the IPs of all sites because of a server crash sounds very complicated.”</b> <br> <br>While it does sound complicated, it doesn’t have to be if set up right; but, again, you will not have to assign new IPs simply b/c of a server crash.