No vhost exists with servername or alias


My domain is:

I ran this command: sudo certbot --apache -d -d

It produced this output: No vhost exists with servername or alias of No vhost was selected. Please specify ServerName or ServerAlias in the Apache config.

My web server is (include version): Digital Ocean

The operating system my web server runs on is (include version): Ubuntu LAMP on 18.04

My hosting provider, if applicable, is: Digital Ocean

I can login to a root shell on my machine (yes or no, or I don’t know): yes

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 0.28.0


Was able to resolve this issue quickly by creating a new virtual host file within the bottom of step 5 on this website—-setting-up-virtual-hosts-(recommended)

closed #3

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