I’m trying to run certbot --apache on my ubuntu, but always getting this error:
Detail: Invalid response from …
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.
Well, my domain is wrsat.com.br and it’s on a Plesk machine in another computer, I’m trying to activate lets encrypt on my subdomain mysubdomain.wrsat.com.br (that is our system to work, and it is on another machine than the public site wrsat.com.br)
I have 3 subdomains to activate let’s encrypt on, when running command I can see that the file is created on folder well-known but when the error occurs it is deleted, but if I create this folder manually and put a file in there, then I can acess from everywhere by mysubdomain.wrsat.com.br/.well-known/etc… (file) with no problems.
The DNS are set correctly, all subdomains I can acess from anywhere.
Is there any solution? Is this problem caused because my main domain wrsat.com.br is in a server and subdomains in another server?
I really aprecciate any help