Hi everyone
I'm new to letsencrypt. I have installed it on my VPS running Debian 8 and VestaCP as server control panel (This means I have apache and nginx).
Letsencrypt gives me this error every time I try to install ssl for my domain ehsan.space:
Error: should only be one vhost in /home/admin/conf/web/apache2.conf
Buy I already checked my apache2.conf and there is only one vhost there. This is my apache2.conf:
<VirtualHost 185.106.122.42:8080>
ServerName ehsan.space
ServerAlias www.ehsan.space
ServerAdmin info@ehsan.space
DocumentRoot /home/admin/web/ehsan.space/public_html
ScriptAlias /cgi-bin/ /home/admin/web/ehsan.space/cgi-bin/
Alias /vstats/ /home/admin/web/ehsan.space/stats/
Alias /error/ /home/admin/web/ehsan.space/document_errors/
#SuexecUserGroup admin admin
CustomLog /var/log/apache2/domains/ehsan.space.bytes bytes
CustomLog /var/log/apache2/domains/ehsan.space.log combined
ErrorLog /var/log/apache2/domains/ehsan.space.error.log
<Directory /home/admin/web/ehsan.space/public_html>
AllowOverride All
Options +Includes -Indexes +ExecCGI
</Directory>
<Directory /home/admin/web/ehsan.space/stats>
AllowOverride All
</Directory>
<IfModule mod_ruid2.c>
RMode config
RUidGid admin admin
RGroups www-data
</IfModule>
<IfModule itk.c>
AssignUserID admin admin
</IfModule>
IncludeOptional /home/admin/conf/web/apache2.ehsan.space.conf*
</VirtualHost>
Could any one help me please?