No WWW Record in DNS Means Certficate Cannot Be Issued

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. (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


  • The following errors were reported by the server:

    Domain: www.
    Type: connection
    Detail: DNS problem: NXDOMAIN looking up A for

    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:

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

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

The domain name is I changed it.

There’s an IP address for, but not for

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

1 Like

Thank you :slight_smile: i will try it.

I added second DNS entry. is it good?

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

1 Like

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


Thanks man, so simple! Thanks again.