All websites points to a directory listing ("Index of") of /var/www/html and when I click on any sites of the list, I see a duplicated domain and tld.
A Syntax error is given, regarding:
line 219 of /etc/apache2/apache2.conf
Facts:
- The sites worked fine until today noon, when I added a virtual host (which I removed since then).
- All sites are Wordpress based and are minimal.
- All sites include an .htaccess file.
- There are no from either
journalctrl -xe
,apachectl -t
,tail /var/log/auth.log
, ortail /var/log/apache2/error.log
. - In the Zone file of each site, A and Cname records are just fine.
What may cause this problem?
Update:
Associated error:
Syntax error on line 219 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/domain.tld
Note: I used apachectl -t
to find this error.