Roundcube Community Forum

Release Support => Release Discussion => Topic started by: jnewman67 on May 25, 2026, 10:29:21 AM

Title: Roundcube installation for multiple domains
Post by: jnewman67 on May 25, 2026, 10:29:21 AM
I've had an ISPConfig / Roundcube v1.x /Apache (CentOS/Rocky) server for years - I really like the fact that one installation of RC could be used on all domains by default by just including one httpd/rc.conf file that contained
Alias /roundcubemail /usr/share/roundcubemail
Alias /webmail /usr/share/roundcubemail

# Define who can access the Webmail
# You can enlarge permissions once configured

<Directory /usr/share/roundcubemail/>
        Options none
        AllowOverride Limit
        Require all granted
</Directory>
zero other configuration needed for any domain (100's) added to the server, it was instantly available as a mail client to all domains.  also, it was not the default webpage for a domain, and clients only knew it was available if I informed them.
I haven't found a configuration for v1.7 that does the same thing - it appears I need to define a unique site in Apache for roundcube, with a defined DocumentRoot.
<VirtualHost *:80>
     DocumentRoot /var/www/roundcubeemail
     ServerName anydomain.net
Or something like that - it's not clear to me how roundcube could be set up like before and have it be fully integrated and seemless (never leaving the customers domain).
Did I miss a discussion that covered this, or an example that does this?
Thanks.
Title: Re: Roundcube installation for multiple domains
Post by: JohnDoh on May 25, 2026, 12:23:03 PM
I don't know ISPConfig but I guess your upgraded Roundcube install is still in /usr/share/roundcubemail. Is it an upgrade you got through ISPConfig or did you do it manually?

A major change with Roundcube 1.7 is that the public_html dir became the web root. So may be this works?

Alias /roundcubemail /usr/share/roundcubemailpublic_html
Alias /webmail /usr/share/roundcubemail/public_html

<Directory /usr/share/roundcubemail/public_html/>
...

Assuming the above does not solve your issue, can you describe what the specific problem is you are facing?
Title: Re: Roundcube installation for multiple domains
Post by: jnewman67 on May 25, 2026, 02:40:56 PM
this was the error I got while configuring 1.7 the same as 1.6 was configured (fresh install, not an upgrade) using the afore mentioned Alias commands
Please, configure your HTTP server to point to the /public_html directory (with fallback to /public_html/index.php).it was a manual download and install of Roundcube - nothing automatically installed with ISPConfig.
I thought I tried adding /public_html to the Alias commands, but I'll try again.
I've already reverted to 1.6.15, so I'll have to uninstall and try again
Thanks for the response
Title: Re: Roundcube installation for multiple domains
Post by: jnewman67 on May 25, 2026, 02:42:06 PM
oh, just saw in your example that the Directory command may need to be updated as well - I don't think I saw/did that previously.  will try that as well.