Created a new droplet, but did not get a new IP address


I destroyed my old droplet and created a new one (the same domain name) with an SSH key. However, I did not get a new ip address and password, so when I try to connect my droplet with PuTTY using my old IP address I get an “Access denied”

Also when I try to add a new domain, I select my droplet and the old IP address appears. So I can’t create a new DNS

Can someone help me? It’s been 5 days since I try to host my website and STILL I can’t get it to work. I’m kind of mad and tired but hey, at least I’m “learning”

Thank you


Yes I did, but I found out the problem: i wasn’t using Pageant!

Have you clicked on the Add SSH Keys button and added your SSH Keys before clicking on the Create Droplet button?

PuTTY might be using old info from the ‘known__hosts’ file. This file is normally found in a .ssh directory, but PuTTY stores this info in the Windows Registry under HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys

Rename the key referencing your droplet and try to connect again.

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.

Creating a new Droplet in DO will re-use any previously used IP addresses, but it’s not always the case.

If you wanted to use another IP address instead of the previously used IP address, then do this:

  • 1. Power off your droplet with the old IP address.

  • 2. Create a new Droplet and don’t forget to add your SSH key. You should get a new IP address.

You can now delete the other Droplet.

You don’t always get a new IP and if you picked your SSH key, you won’t get a password either. Access denied means you’re using the wrong public/private key. DNS will work fine if it’s the same IP.