In the file /etc/nginx/sites-available/default I put:
server_name cmdb.mydomain. com;
I use the command: sudo certbot certonly -d cmdb.mydomain.com
But it gives me the following error:
Failed authorization procedure. cmdb.mydomain. com (http-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for cmdb.mydomain. com
I have also tried it by adding www.cmdb.mydomain. com and the result is the same.
This is the answer to the test:
No issues were found with “mydomain.com”. If you are having problems with creating an SSL certificate, please visit the Let’s Encrypt Community forums and post a question there.