Topic: non 'www' url forwarding to https://domain.com/mail
==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04
- Related log if you're reporting an issue:
====
Hi there, hopefully someone can help point me in the right direction.
I am hosting a number of domains using virtual hosts all under one server with the hostname "example1.com"
If I visit http://www.example1.com the site is fine, but if I go to http://example1.com it is automatically forwarded to https://example1.com/mail
(Other domains on the server don't do this)
I have checked that it is not something I have done in either the Apache2 virtual hosts file for example1.com or in the .htaccess file or with DNS (namecheap) so I'm assuming/hoping/guessing that there's another file somewhere else that is causing this to happen and that someone might be able to shed some light on the issue.
Other places I have checked (at a guess):
/etc/apache2/sites-available/default
/etc/apache2/sites-available/default-ssl
/etc/apache2/apache2.conf
Thank you!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.