1

Topic: Iredmail domain landing page?

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.9.0
- 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:
====

Hello,
Long time lurker as well as user of iRedMail.
I have a question for which I could not find information to the problem I'm having.

My iRedMail is setup at mail.domain.com when I go to the top level of my domain name (domain.com) I get error that the page cannot resolve. Is there a way to have top level domain (example.com) display a landing page instead of not being available? I believe this has to do more with apache and vhosts?
I hope this all makes sense.

Thank You in advance.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Iredmail domain landing page?

It not displaying anything is an issue. By default on a fresh installation the 'Landing Page' redirects to /mail/ which redirects to https://%domain%/mail which displays Roundcube Web Mail.

3

Re: Iredmail domain landing page?

7t3chguy wrote:

It not displaying anything is an issue. By default on a fresh installation the 'Landing Page' redirects to /mail/ which redirects to https://%domain%/mail which displays Roundcube Web Mail.

Yes you are correct going to domain.com will bring up mail.domain.com. I guess what I'm trying to do is have just a welcome page when someone goes to domain.com and only go to webmail when mail.domain.com is entered. Hope this makes more sense.. btw thank you for quick reply.

4

Re: Iredmail domain landing page?

You can check file /var/www/index.html (or /var/www/html/index.html), it will redirect request to http://domain/ to /mail by default.

You can also add a new virtual host in Apache/Nginx with a specified document root directory.

5

Re: Iredmail domain landing page?

ZhangHuangbin wrote:

You can check file /var/www/index.html (or /var/www/html/index.html), it will redirect request to http://domain/ to /mail by default.

You can also add a new virtual host in Apache/Nginx with a specified document root directory.

Is there a chance you could give me example of virtual host edit i could use in my own configuration for Apache?

6

Re: Iredmail domain landing page?

How about read official Apache document?
http://httpd.apache.org/docs/2.2/vhosts/