Topic: [Solved] mydomain.com without SSL?
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Ubuntu 14.04 server edition
- 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:
====
I'm trying to set up a virtual host for the default "mydomain.com" that does not use SSL, so mydomain.com just shows my website. I want to leave mydomain.com/mail and other iredmail links using SSL. I've created and enabled a conf file for my subdomain:
<VirtualHost *:80>
ServerAdmin postmaster@mydomain.com
ServerName mydomain.com
ServerAlias www.mydomain.com
DocumentRoot /var/www/default
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
But whenever I navigate to http://mydomain.com or http://www.mydomain.com, it instantly redirects to https://mydomain.com and redirects to https://mydomain.com/mail.
Any help on fixing this would be really appreciated!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.