Report this

What is the reason for this report?

How do I change the Roundcube webmail URL to mail.example.com instead of mail.example.com/mail with iRedMail installation?

Posted on October 8, 2017

The apache installation for iRedMail is not the same as a normal apache installation so I’m struggling to get the site working. I tried editing roundcubemail.conf in /etc/apache2/conf-enabled to <VirtualHost> instead of <Directory> but that broke the server. Not sure where I have to edit or what to put.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello there,

This is done through the virtual host file indeed. You need to make sure that the virtual host is valid, the document root is present and that the domain/subdomain name DNS is working.

Apache needs to be restarted/reloaded after the change but before doing that make sure to check the apache config files for syntax errors with the apachectl -t command. It will highlight any errors in the config files if present.

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.