Roundcube only available on webmail.domain.com

RoRoo

Verified User
Joined
Dec 16, 2004
Messages
112
I've been trying to have Roundcube only work on webmail.domain.com and not on webmail.otherdomain.com so we can bypass the alias and keep things nice and neat and easy to remember.

I've tested a few things, all with different results but all not working ;)

I've added a new domain: webmail.domain.com and applied this in the custom httpd config:

|?DOCROOT=/var/www/html/roundcube|
|?USER=webapps|
|?GROUP=webapps|

This seems to work (I get an enormous logo with a login field) other that the subfolders of said roundcube location aren't being seen and generate 404 errors. So stylesheets etc aren't being applied.

I've tried this: https://docs.directadmin.com/webser...html#setting-up-webmail-domain-com-as-default but added the configuration to the wbmail.domain.com custom httpd config.

Also giving similar results.

setup is NGINX-APACHE.

I'm missing something, and maybe I'll find it later on... but maybe someone can point me in the correct direction.
 
Thanks, after posting I added the same config to the NGINX and it started working.
I initially didn't touch it since I thought NGINX was only being used as a proxy, so the path and user config would purely be for a native NGINX server.

I was wrong.
 
NGINX is used for a delivery of static files as well, so it should know where do they reside.
 
Back
Top