No route to host when I ran certbot

My domain is: dhis2.la

I ran this command: certbot certonly --non-interactive --standalone --agree-tos -m nguyenanhdung191@gmail.com -d dhis2.la

It produced this output: Requesting acme-v02.api.letsencrypt.org/directory: No route to host

Operating system: Ubuntu 20.04

Hi @nguyenanhdung191, and welcome to the LE community forum :slight_smile:

Seems like a routing issue...
Please show the outputs of:
nslookup acme-v02.api.letsencrypt.org
netstat -nr
ifconfig | grep inet

4 Likes

After we fix the routing issue, we need to address the use of --standalone.
Noting that there is a web server responding:

curl -Ii http://dhis2.la/.well-known/acme-challenge/Test_File-1234
HTTP/1.1 403 Forbidden
Date: Tue, 30 Aug 2022 04:14:02 GMT
Server: Apache
Content-Type: text/html; charset=iso-8859-1
4 Likes

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