Author Topic: RoundCube 0.7 and multiple domains  (Read 3938 times)

Offline Speedy8

  • Newbie
  • *
  • Posts: 3
RoundCube 0.7 and multiple domains
« on: July 29, 2012, 06:07:10 PM »
Hallo everybody,

I use RC 0.7 on my VServer with more than 10 Domains. Actually the RC is reachable during the Domain of the VServer like "http://my.server.de/webmail".

But I want to make all my Domains separately able to reach the RC.

At the moment I have configured a domain-Forward like

"http://mail.my-domain1.de" to "http://my.server.de/webmail".

But I want, that a "http://mail.my-domain1.de" reaches directly the RC.

I found a discription for multiple domains in the RoundCube-Wiki http://trac.roundcube.net/wiki/Howto_Config, but I don't know, how I can link the Spezial-domain directly to the RoundCube-Directory?!

I created the rc-config-files in the config-directory, I changed the main.inc.php. But how can I make the step from the descriped Url's to the ROundcube-Directory?

Thanks for your Help.

With best regards
Alexander

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: RoundCube 0.7 and multiple domains
« Reply #1 on: July 30, 2012, 02:45:40 AM »
Hi,
Quote
At the moment I have configured a domain-Forward like

"http://mail.my-domain1.de" to "http://my.server.de/webmail".

But I want, that a "http://mail.my-domain1.de" reaches directly the RC.

Thats not done by RC settings. You need to change the settings in your web server so rather than forwarding to the /webmail url it serves the pages directly.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline Speedy8

  • Newbie
  • *
  • Posts: 3
Re: RoundCube 0.7 and multiple domains
« Reply #2 on: July 30, 2012, 05:02:38 PM »
Hallo,

Quote from: JohnDoh
...

Thats not done by RC settings. You need to change the settings in your web server so rather than forwarding to the /webmail url it serves the pages directly.

thanks for your answer. Well, I thought something like this. But the webmail-Folder is not owned by all the domains and users on my VServer. I chownd the Folder to "www-data", so for the Web-Server. (I'm using Debian 6!).

Now I tryed to make a symlink inside the Webspace of one Server-User to the folder of webmail, like

"ln -s /var/www/webmail/ /var/www/webuser1/"

But it doesn't work, in the Firefox it did not link to RoundCube !

Some more Ideas?

Thanks.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: RoundCube 0.7 and multiple domains
« Reply #3 on: July 31, 2012, 02:38:15 AM »
sorry i dont understand what you are doing, surely you want to configure the new site in your httpd settings not just make random symlinks in your www-root. may be there is some documentation about your httpd or about how to setup up sites in VServer you can read which will help.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline Speedy8

  • Newbie
  • *
  • Posts: 3
Re: RoundCube 0.7 and multiple domains
« Reply #4 on: August 03, 2012, 04:27:22 PM »
well, maybe you don't understand my Problem.
I have nearly 10 users on my server. Every user has his own domains an can manage this with the "ISPCONFIG"-Tool.

Well, I wan't that every user can create himself a subdomain for the roundcube like mail.domain1.com. And this subdomain should open the Roundcube.

If the user create a subdomain, he has to name the "file-directory". But at this place I can't name the roundcube-Directory, because this is outside the webspace of the user.

SO, do you understand my Problem?

Otherwise, I can create the subdomain as the VServer-Admin. But isn't it possible for the users?

greetz