I can add SSL in sub domain, but get this error when trying to add SSL in the main domain.
root@srv802955:~/var/www/morfitter-front-end-deploy# sudo certbot --nginx -d myDomain.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for myDomain.com
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: myDomain.com
Type: unauthorized
Detail: 2a02:4780:27:1072:0:3b42:8aed:a: Invalid response from http://morfitter.com/.well-known/acme-challenge/j8KEqfdgPiij-05UkaQMAZtaca94ghaFYCgeVxtoS0: 404
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.