No WWW Record in DNS Means Certficate Cannot Be Issued


#1

Hello, i have vps and domain pointed with A record to my vps. I tried to generate certificates for my domain (virtual host on apache) but it says
Failed authorization procedure. www.fearhq.ml (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for www.fearhq.ml

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: www. mydomain.com
    Type: connection
    Detail: DNS problem: NXDOMAIN looking up A for fearhq.ml

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A record(s) for that domain
    contain(s) the right IP address. Additionally, please check that
    your computer has a publicly routable IP address and that no
    firewalls are preventing the server from communicating with the
    client. If you’re using the webroot plugin, you should also verify
    that you are serving files from the webroot path you provided.

I dont have any other records to my vps.

Please help me :frowning:


#2

Can you connect to your (non-secure) website using a regular browser with that domain?
If not then fix that first.


#3

Are you happy to provide your domain name ? it will help us provide information about how to fix it much more easily.


#4

The domain name is www.fearhq.ml. I changed it.


#5

There’s an IP address for fearhq.ml, but not for www.fearhq.ml

So I guess your DNS entry isn’t right for the www. subdomain.


#6

Thank you :slight_smile: i will try it.


#7

I added second DNS entry. is it good?


#8

I can see both hostnames now.
Look like you should try LE again.


#9

As @nielsbasjes said, it’s good now :slight_smile:


#10

Thanks man, so simple! Thanks again.