Question

If I destroy a droplet will I lose my SSL settings and DNS settings?

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


Submit an answer

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!

Sign In or Sign Up to Answer

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.

alexdo
Site Moderator
Site Moderator badge
January 31, 2024
Accepted Answer

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!

If you destroy a droplet, you will lose its SSL settings because they are configured on the server itself. However, your DNS settings will remain intact as they are managed separately by your DNS provider. You can reapply SSL settings on a new droplet if needed.

KFSys
Site Moderator
Site Moderator badge
September 11, 2024

Heya,

In terms of DNS. You shouldn’t lose your DNS, you will need to update it to match your new Droplet.

The only way you will lose your DNS settings if you have turned your Droplet into a DNS server however if that were the case, you would know about it.

About the SSL settings, you’ll need to re-install your SSL certificate. If it’s a Let’s Encrypt one, you’ll need to re-create it.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.