I have changed a domain to another web server and it does not generate a new certificate for unknown reasons it is activated in another domain of the old server. I run the command /usr/local/bin/certbot-auto --apache , with the following error:
Invalid host in redirect target “camerweb.es.well-known”. Check
webserver config for missing ‘/’ in redirect target.
I’ve been trying to fix it for two days. I have deleted all /etc/letsencrypt/live, /etc /letsencrypt/renewal folders from camerweb and generated a new certificate for camerweb but the error continues.
Any ideas please, as I intend to move 6 other domains in production to the new server.