#1  
Old 23rd August 2006, 13:38
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default subdomain URL to webmail

Hi

Is it possible to redirect a subdomain for example webmail.domain.tld to the webmail https://www.domain.tld:81/roundcubemail?

Thanks for your help.
Reply With Quote
Sponsored Links
  #2  
Old 23rd August 2006, 20:11
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default

I found this:
http://www.howtoforge.com/forums/showthread.php?t=6174
Reply With Quote
  #3  
Old 23rd August 2006, 21:56
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,257
Thanks: 75
Thanked 22 Times in 18 Posts
 
Default

I use something like this:

Quote:
<VirtualHost 85.214.51.208:443>
ServerName webmail
ServerAlias mail.*
ServerAdmin postmaster@web-designerz.de
DocumentRoot /var/www/webmail/web

<VirtualHost 85.214.51.208:80>
ServerName webmail
ServerAlias mail.*
RewriteEngine On
RewriteRule (.*) https://%{SERVER_NAME}:443 [R]
</VirtualHost>
what it does is this: the first virtual host catches all domains that start with mail.whatever and redirects them to a single install of the webmailer of my choice (you could use roundcube).
The second virtualhost takes every request on port 80 and forwards it to port 443 so that my users can only use webmal via ssl.

Now here you have 2 possibilities to play around with, the one is a kind of a catchall for subdomains, you could use webmail.*, the other method works with a redirect, use whatever you like.

p.s. these virtualhosts go into /etc/apache2/apache.conf (if you are using debian)

justr some ideas to keep you going...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmail HTTPS:81 Setup Change to HTTP:80 iratik Installation/Configuration 4 17th August 2006 17:04
Subdomain with Webspace nsm Installation/Configuration 1 13th June 2006 10:39
Webmail login failed Jeroen Installation/Configuration 4 6th February 2006 18:32
Trouble with Webmail users rodriglm Installation/Configuration 5 29th December 2005 09:18
Webmail alias aethiolas HOWTO-Related Questions 2 21st November 2005 18:21


All times are GMT +2. The time now is 04:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.