If I destroy my current Droplet and make another one later would I get the same IP address?

Posted January 29, 2014 2.2k views
or would it be different?

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.

Submit an Answer
3 answers
Destroying your droplet and re-creating at a later date, you would be provided with a different IP address.
You could always run the following command to replace all references to you old IP with your new one though:

`find . -type f -name '*.*' -exec sed -i 's|OLD-IP|NEW-IP|g' {} \;`
(Replacing OLD-IP and NEW-IP, respectively, to get things back up and going.)
There's a high chance you'll get the same IP address if you create it immediately after the old droplet is destroyed, though.