Migrate website to a new server

I want to migrate my website to a new server. Could you help me, which is the proper way to deal with the Let's Encrypt certification;
Should I issue a new cert in the new server ?

Thanks a lot!

My domain is: www.scti.gr

My web server is (include version): Apache2

The operating system my web server runs on is: Ubuntu 18.04

I can login to a root shell on my machine : Yes

certbot --version: certbot 0.31.0

1 Like

This is your choice.

You can move the entire /etc/letsencrypt and /etc/apache2 directories to the new server, or you can issue a new cert. (be careful, you can't use http and tls-alpn verification if your dns records point to the old server.)

I'd postpone the move a couple of months.

1 Like

So, if I understood well, one of my choices is to:

  1. I move the site to the new server
  2. Then, I change the DNS records in order to point the new server.
  3. I can wait some days and then I issue the new cert

I didn’t catch the last thing you wrote about moving a couple of months

.

1 Like

No, if you want to issue a new certificate on the new server you only need to wait some seconds/minutes after updating your dns records (depends on your dns provider, some need hours).

Next month Ubuntu 20.04 LTS comes out.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.