Moving website with SSL to new server worked, but did I do it correctly?

I’ve looking to move a website using SSL to a new verser, and I’m end doing this:

  1. Move old website files to new server.
  2. Delete the letsencrypt folder from new server.
  3. Copy the entire letsencrypt folder from old to the new server /etc location.
  4. Deleted the apache2 folder from new server.
  5. Copy the entire apache2 folder to the new server /etc location.
  6. Restarted apache.
  7. Change the DNS settings to point to the new server.
  8. Immediately after changing the settings I run the sudo letsencrypt renew --dry-run
  9. Turn off the older server, new server is running with ssl.

Didn’t need to create symlinks for the letsencrypt or apache 2 files.

Is there anything else I need to check or do?
Is this a valid process to move websites to new server?

1 Like

If the outcome of step #8 was good, then you should be good to go. :slight_smile:


that depends on how you copied the files over. some ways of doing that preserv symlinks.

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