Can't use certbot on sub domains

My domain is:

I ran this command: certbot certonly -a webroot --webroot-path=/home/oxodao/www -d -d --webroot-path=/home/nextcloud/www -d -d

It produced this output: Failed authorization procedure. (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for

My operating system is (include version): Debian 8

My web server is (include version): nginx 1.6.2

My hosting provider, if applicable, is: OVH VPSes

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

I did have let’s working for maybe a year though I decided to fully reinstall my machine.
I did not change any A records or nothing related to domain name.
This was working correctly before reinstall, is working though I can’t get LE on it…

Here are my config for nginx:
Default ( :
Nextcloud ( :

The SSL generated works on but not on

It was working right before reinstalling…
Thanks in advance

Well, there isn’t an IP address for so the error makes sense…

I feel so dumb…
Anyway, thank you :slight_smile:

So either add an IP address to that specific hostname or don’t use it at all, it’s all up to you :wink:

1 Like

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