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

January 29, 2014 1.7k views
or would it be different?
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.
Have another answer? Share your knowledge.