DNS problem: www.domain.com and domain.com

I have problem when i comment
./letsencrypt-auto --config /etc/letsencrypt/configs/domain.tld.conf certonly

domain = gen01.tel4vn.com

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for gen01.tel4vn.com
Using the webroot path /var/www/letsencrypt for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. gen01.tel4vn.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://gen01.tel4vn.com/.well-known/acme-challenge/lIMQ9p0YFSZjZu7jjo7Vyojc7ZQDlYZVeQAvX1wb2HM: "

404 Not Found

404 Not Found



WHEN I CONFIGURE domain = www.gen01.tel4vn.com

Failed authorization procedure. www.gen01.tel4vn.com (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 www.gen01.tel4vn.com


  • The following errors were reported by the server:

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

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA 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.

root@debian:/opt/letsencrypt# lsb_release -da
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.9 (jessie)

Can i help u check it? Thank you very much
I’m come from Vietnam

You need to create a record with www and @ that points to your server IP.

1 Like

How i do that?
Can u help me?

That all depends on your DNS provider. Each one will have a different way of going about that. Do you know who your DNS provider is? If it’s one that anyone here is familiar with, we can help for sure. If not, you might need to ask their support if your unsure of how to do this on their interface.

I can. It’s generally the same process for all DNS providers, but it would make it easier if you told us what DNS provider you use.

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