1

Topic: Problem with iRedmail and Apache2 - virtual hosts

Ubuntu 12.04 64bit server
newest iRedmail
Error: Problem showing 2 different sites on same IP.

We host a webserver and mailserver on the same server. The problem is, we cant show both sites. I understand, that in order to show 2 sites on the same server with the same IP, you need to make virtual hosts in apache. You also need, to make your main site, a virtual host as well. That seems to be a problem with the iRedmail configuration in apache. How do we resolve this issue ?

I'm sure that this would probably work out of the box, if just apache2 was installed without iRedmail. We have created both sites as virtual hosts from webmin, and it seems to be as it should be, but the default site which got the iRedmail, seems to make trouble. We have tried on a previous install, to remove the default site, but that fucked up the apache-server.

Any help towards solving this, will be highly appreciated smile

Thanks in advance

/JaX

----

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

2

Re: Problem with iRedmail and Apache2 - virtual hosts

You can convert the default Apache setting to name based virtual hosts. Reference:
http://httpd.apache.org/docs/2.2/vhosts/examples.html

3

Re: Problem with iRedmail and Apache2 - virtual hosts

Thank you once again, it works now smile