Topic: Installing iRedMail has broken web server
==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu 12.04
- Related log if you're reporting an issue:
====
Hi,
I have just installed iRedMail onto my server as per the guide. I previously had my Apache web server running fine on www.mydomain.com and set my host file as such for iRedMail:
127.0.0.1 mail.mydomain.com mydomain localhost localhost.localdomain
109.123.108.113 mydomain
Now, this has iRedMail working fine at mail.mydomain.com, however www.mydomain.com now redirects to www.mydomain.com/mail/, breaking my web server.
I can still access folders on my web server (such as www.mydomain.com/phpmyadmin/) and these work just fine. But the root URL always redirects to mail.
How can I keep the webmail and iRedMail admin etc just on the mail subdomain and keep my web server at mydomain.com running as normal for Apache?
Many thanks!
Sam
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.