Question

How can I change domain name for Letsencrypt?

I have a droplet installed Letsencrypt SSL certificate for a domain name (www.xxx.com). For some reason, I have created a new droplet with a snapshot of the original droplet. Let’s say the new domain name is www.yyy.com.

I want to ask all of you 2 questions

  1. Is there a way to remove letsencrypt from the new droplet without harming the original droplet(certificate)?
  2. Is there a way to change domain name from www.xxx.com to www.yyy.com so I can make www.yyy.com secure?

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @axiom88guru,

You can try to re-issue the let’s encrypt using CertBot, it should pick up the new domain name and install the certificate for it.

As for the certificate for your old domain, you can just remove it from removing the SSL files on the new droplet. These actions should not actually harm your original domain on the original droplet.

Regards, KFSys