Unable to request LetsEncrypt for child srver

I have a child server that is a completely different domain. When I request a LetsEncrypt cert I get the following error

redacted.com challenge did not pass: Invalid response from http://redacted.com/.well-known/acme-challenge/DLeSm5WKQ_eqhVZVHMrx6c2AS3ddIKsb0p3-67H_5QE []: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"

and the .well-known directory is not in the /home/parentserver/domains/redacted.com/public_html/
I am not sure if this is a known issue but its not working for me.



Howdy -- thanks for contacting us!

It shouldn't matter what the domain name is, or whether it's a Sub-Server.

On my personal server, most of my Sub-Servers have different domain names from my top-level domain, and I'm able to issue SSL certs for those.

So the key would be to figure out why that's not working in your case.

Would it be possible for you to share the domain name in question that you're having trouble with?

And for that domain, could you create a .well-known directory within it's public_html folder, and in that .well-known folder, add a test.html page with "hello world" or similar?

So i fixed..
Here is the process that I went through and the fix.

Server Parent is created
server child is re-homed (moved) to be a sub server of server Parent
request SSL cert for child - FAIL
edit child server removing SSL site
re-add SSL site to child
request cert for child - SUCCESS.