Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
Domain: lern2code.com
Type: dns
Detail: DNS problem: query timed out looking up A for lern2code.com; DNS problem: query timed out looking up AAAA for lern2code.com
---- I am hosting my own DNS server and it looks like it isn't right. Any help is appreciated.
My web server is (include version):
Server version: Apache/2.4.52 (Ubuntu)
The operating system my web server runs on is (include version):
Ubuntu 22.04.3 LTS
My hosting provider, if applicable, is:
Self hosted
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 2.8.0
Thanks for your help. I found and fixed the problem.
The problem was that years old DNS addresses for my name servers were configured at my taurus.com domain registrar (network solutions.com). I updated the addresses and that appears to have fixed everything.
Just so you know the issued certificate that is being served is crt.sh | 11786813177 does not have www.lern2code.com in the SANs. So lern2code.com is covered by the issued certificate, but www.lern2code.com is NOT covered.
I noticed this problem yesterday, but I don’t know what to do about it. I do want a certificate for www.lern2code.com. Any pointers you can give would be appreciated.
You first need to have the www subdomain in your Apache VirtualHost. I assume it is not there because otherwise your certbot command would have included it.
Use the Apache ServerAlias statement to include the www subdomain in your VirtualHost for port 80 and port 443. Then, this command should add it to your cert