To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address

when I try to obtain a TLS certificate with an Nginx web server I get this error. note in my domain I try to set host record like below
Type of host records (Type A) (Host @) (value my public IP) and one more in a record I try (A) record (host mail) and (value my public IP). in MAIL SETTINGS I set MX record Type Host @ and value mail.mydomain.com
IMPORTANT NOTES:

Hi @sokha

what says

nginx -T
1 Like

Then there must be something about your nginx config that has confused certbot.
We could review the nginx config, show: nginx -T
Or we could use --webroot authentication instead.

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