- Plesk for Linux
- Plesk for Windows
The following error occurs on an attempt to secure domain/subdomain/alias with Let's Encrypt via Domains > example.com > Let's Encrypt:
PLESK_ERROR: Detail: DNS problem: NXDOMAIN looking up A for alias.example.com
Domain from the error,
alias.example.comin this example, cannot be resolved globally.
Note: The error may also occur for the
webmail.example.comand for the domain with
- The domain/subdomain/alias does not resolve globally:
# dig @220.127.116.11 +short subdomain.example.com
Missing A record for
www.example.com and/or for
Use one of the following solutuoins:
secure only main domain, e.g example.com:
Open Domains > example.com > Let's Encrypt leave all checkbox empty and issue the certificate:
correct DNS settings:
- If Plesk is used as DNS server, add the required records as described in the following article How to add a DNS record for a domain in Plesk
- In case if DNS are hosted outside of Plesk, create the records on the DNS registrars side.
The following article describes how to troubleshoot issues with Let's Encrypt certificate installation: Let's Encrypt installation fails: Challenge marked as invalid.