Question

How can I change domain name for Letsencrypt?

Posted December 24, 2020 1k views
Let's Encrypt

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?

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.

×
Submit an Answer
1 answer

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