Nginx: [emerg] host not found in "None" of the "listen" directive in /etc/nginx/sites-enabled/valueads.biz.conf:14

Hi,

I'm unable to create a certificate for my new server, a process I have conducted successfully many times before. I have filled out the details below. Please help. I cant see to be able to figure this out. :-/

My domain is:
valuads.biz

I ran this command:
sudo certbot --nginx -d valueads.biz -d *.valueads.biz

It produced this output:

Deploying Certificate to VirtualHost /etc/nginx/sites-enabled/valueads.biz.conf
nginx: [emerg] host not found in "None" of the "listen" directive in /etc/nginx/sites-
enabled/valueads.biz.conf:14
Rolling back to previous server configuration...
nginx restart failed:
b''
b''

My web server is (include version):
nginx version: nginx/1.15.9 (Ubuntu)

The operating system my web server runs on is (include version):
Ubuntu 19.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

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
No

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

Can you paste the contents of /etc/nginx/sites-enabled/valueads.biz.conf?

Additionally, can you find the modified Nginx server block in Certbot’s logs in /var/log/letsencrypt/letsencrypt.log?

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