I’ve got the same problem…
my file:
<VirtualHost *:80>
ServerAdmin example@example.com
DocumentRoot /var/www/1/
ServerName example.com
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
error:
Error: should only be one vhost in
/etc/apache2/sites-enabled/example.com.conf
any idea what’s wrong?
Command which I run:
./certbot-auto --apache -d example.com
(where example.com is my domain)
I also tried replacing <VirtualHost *:80>
with <VirtualHost my-ip:80>
or <VirtualHost *:*>