No valid A or AAA OVH dynhost

My domain is:

I ran this command: certbot --apache

It produced this output: The following errors were reported by the server:

Type: dns
Detail: no valid A records found for; no valid
AAAA records found for

My web server is (include version): apache/2.4.53

The operating system my web server runs on is (include version): raspbian

My hosting provider, if applicable, is: ovh

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.12.0

hello, sorry to bother but i can't get certificate on my website and i can't figure why... i'm hostng my website on a raspberry-pi my domaine name is hosted by ovh and i have use the dynhost to "link" both.

Can someone help me?


First of all, these are two different domain names. If you're using a CNAME to a dynamic dns provider (you are currently not) you can only use the www. one. Unless OVH allows you to use an ALIAS record or something like that. If you want to use the www. domain same as the other, add a CNAME record from www to @ (@ means "the apex")

You currently only have an A record on, on which you are serving an http (no s) website on port 443 (which is supposed to be https) -- this is another issue, solve the dns one first.


first thank you for your fast response,
so i've try to do what you've just tell me and put a CNAME from to
i'm sorry to be totaly lost in those CNAME, A, AAA :persevere:

1 Like

Ok, don't worry. They're simple enough.

  • A is an IPv4 you want to point a name to.
  • AAAA is the same for IPv6.
  • CNAME points from a name to another domain name, and it says ''clone whatever is there" -- you cannot use this on the apex, reason why you're probably using an ALIAS or ANAME record (that's just an OVH feature that automatically sets the A and AAAA records for you, not an actual dns record).
1 Like

Apparently the CNAME done the trick, and i've a certificate now
thank's a lot

1 Like

Ok, now you have to install that certificate. If you're using certbot, that's simple enough, just run

certbot install

1 Like

i've run certbot --apache isn't it enough?

Yeah, I wrote too soon. I can see on your website that the certificate is installed and working fine.

1 Like

:star_struck: thank's again


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