Symptoms
AutoSSL fails to validate local HTTP DCV and returns a 404 error:
CONFIG_TEXT: Local HTTP DCV error (domain.tld): The system queried for a temporary
file at “http://domain.tld/.well-known/.well-known/pki-validation/C0929066B92E85D215CD309A63D21F36.txt”,
but the web server responded with the following error: 404 (Not Found). A DNS (Domain
Name System) or web server misconfiguration may exist.
Cause
If the domain resolves to a different IP address than what is configured on the cPanel server, then when it goes to validate domain control, it will wind up checking the other server instead and will be unable to find the validation files it creates during the process. If the server can obtain DCV validation using DNS, this will not be a problem, but if the server is not the DNS host for the domain, it will need to be pointed to the server to obtain HTTP validation.
Resolution
Update the domain's primary A record with the DNS host to point to your cPanel server.
Comments
0 comments
Article is closed for comments.