If I destroy a droplet will I loose my SSL settings and DNS settings? Planning to update Ubuntu OS to 22 and PHP to version 8.1
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!
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.
Heya, @ivcfadmin
The DNS settings will not be changed/lost if you destroy your droplet. You will just need to update the DNS later on when you configure a new droplet.
The SSL Certificate will need to be installed/configured again on the new droplet.
As with almost any upgrade between major releases of an operating system, this process carries an inherent risk of failure, data loss, or broken software configuration. Comprehensive backups and extensive testing are strongly advised.
To avoid these problems, we recommend migrating to a fresh Ubuntu 22.04 server rather than upgrading in-place. You may still need to review differences in software configuration when upgrading, but the core system will likely have greater stability. You can follow our series on how to migrate to a new Linux server to learn how to migrate between servers.
You can still upgrade the current version of Ubuntu if this is the desired approach by following the steps in this article:
https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-22-04-jammy-jellyfish
Hope that this helps!
Heya @ivcfadmin,
If you manage your DNS in your DigitalOcean account or in any other place you will keep your DNS settings.
As for the SSL, yes, the certificate and any configuration on your Droplet will be lost but you can re-create them afterwards.
Anyway, if you currently have Ubuntu and you just want to update from 18.04 to 22.04 or from 20.04 to 22.04 there is no need to destroy the Droplet and re-create it. You can just update your OS. To do so just run
Once that finishes, reboot your Droplet
Once it boots again run the upgrade for your System:
Lastly, before doing that I’ll recommend you to create a Snapshot on your Droplet just to be on the safe side:
Snapshots are on-demand disk images of DigitalOcean Droplets and volumes saved to your account. Use them to create new Droplets and volumes with the same contents.
https://docs.digitalocean.com/products/images/snapshots/
When you destroy a droplet (a virtual private server on DigitalOcean), you will lose all data and configurations associated with that droplet, including SSL settings and DNS settings. This means that if you have configured SSL certificates or custom DNS settings on that droplet, they will be lost when the droplet is destroyed.
Before destroying the droplet, make sure to back up any important data and configurations. Additionally, note that updating the Ubuntu OS to version 22 and PHP to version 8.1 may require you to reconfigure your SSL settings and DNS settings after setting up the new droplet.