Thank you very much for your help! Doing the above got rid of the error.
However, I am now getting the following errors:
certbot: error: argument --cert-path: No such file or directory
It then tries to generate a nw certificate but gets the following warning:
Failed authorization procedure. .duckdns.org (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://.duckdns.org/.well-known/acme-challenge/3_oQRrYeXN7Wuuz280qP2hErIiQoCgKlo2FSE2Kagmg: Timeout
And is then followed by this error:
ERROR: Cert does not exist! Please see the validation error above. The issue may be due to incorrect dns or port forwarding settings. Please fix your settings and recreate the container
Any further suggestions on how to resolve this?
I am using a different local port then port 80.
I have already setup port forwarding on my router.
Any help would be much appreciated.