Topic: websites not working after apache reinstall
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Hi all, Was having issues with my letsencrypt cert renewal. I uninstalled and reinstalled letencrypt, now letsencrypt works, but it crashed my apache server. After numerous attempts, I cannot get my websites to pull up, not even iredadmin.
I looked into my /etc/apache2/sites-available folder and found a whole bunch of conf files.
root@SERV:/etc/apache2/sites-available# ls -a
default-ssl.conf.2016.11.20.15.02.07
mywebsite.com.conf
000-default.conf
le-redirect-mail.mywebsite.com.conf
000-default-le-ssl.conf
mail.mywebsite.com.conf
default-ssl.conf
root@SERV:/etc/apache2/sites-available#
iredadmin is installed @ https://mail.mywebsite.com/iredadmin, and my regular website is in https://mywebsite.com, and roundcube is @ https://mail.mywebsite.com/mail
I have checked the www-data permissions, all good.
I have a2ensite again, but they are up and running.
Everything looks okay and untouched in the /var/www/mywebsite folder
I am pretty sure that I might be able to remove some of those .conf files, but I haven't touched them since my original iredmail install last November. Wouldn't know which ones to delete.
I don't operate any http sites, only https
Any help would be greatly appreciated.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.