Question

How to change the public IP address of a droplet?

Hi everyone,

I was wondering how to change the public IP Address of a droplet without first destroying it, and then rebuild it.

Thank you,

Sam

Subscribe
Share

I want a solution to the same question.


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

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.

Hey Sam,

It might be more helpful if you shared what you want to achieve. Something that I do to have a public facing IP that can redirect traffic from droplet to droplet is have a floating IP.

A floating IP is basically a static IP address you can use to redirect traffic to any of your droplets provided they are in the same data center. You can set one up by going to Networking - > Floating IPs tab - > then select the droplet you wish to assign the floating IP to. Just remember when reassigning a floating IP to a new droplet, the droplet has to be within the same data center as the previous one.

Hope that helps!

Hello there,

Is there a particular reason you would like to change the IP address of the droplet?

The best way to achieve this will be to take a snapshot of the droplet and then spin up a new droplet from the snapshot. The process is simple and you can, later on, delete the snapshot and the old droplet.

https://docs.digitalocean.com/products/images/snapshots/how-to/create-and-restore-droplets/

Hope that this helps!

There is no way to change Droplet IP. Taking image and making Droplet from it is currently best way.

I wanted to add - maybe you can try contacting Support team. I’m not sure is they able to do it, but if they’re, they’ll be happy to assist you.

You can’t.