Unable to find virtual host Ubuntu 18.4


Im setting up a Magento 2 Ubuntu18 and i ran :slight_smile:

sudo certbot --apache -d example.com -d www.example.com

Response is:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.pacocasal.info
http-01 challenge for pacocasal.info
Cleaning up challenges
Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.

Please see picture for last lines of log:

My apache are:

It does not tell me much, at least, i dont understand, please help, website is running fine http://pacocasal.info/, this is actually a domain test


Your “Sites-Available” config is probably NOT included in the Sites-Enabled.

hi, I already fix this, i forgot to add the cname for www on cloudflare


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