SSL and Custom Vhost Entries for Webmail
#1
SSL and Custom Vhost Entries for Webmail
Hi

I have setup SSL for Sentora Login and Domains. All works except for webmail.
I get sentora login page when type webmail.domain.com

Thanks
Etienne
Reply
#2
RE: SSL and Custom Vhost Entries for Webmail
It works, but It can be complicated. The easiest way is to do it as an alias like: domain.com/webmail/
This way, you don't need another certificate or any such redirects.
A custom vhost entry for the domain you want to use:

Code:
# Alias for roundcube WebMail login Alias "/webmail" "/etc/sentora/panel/etc/apps/webmail" <Directory "/etc/sentora/panel/etc/apps/webmail/">   Options +FollowSymLinks -Indexes    AllowOverride All    Require all granted </Directory>
Or you could even add it as a 'Global Vhost Entry' and it will be automatically added to every domain on your server.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#3
RE: SSL and Custom Vhost Entries for Webmail
Thanks. It is working great.
Reply
#4
RE: SSL and Custom Vhost Entries for Webmail
Hi Tgates

Can you please do a how to guide if i want to do https://panel.domain.com or https://webmail.domain.com

Thanks
Etienne
Reply
#5
RE: SSL and Custom Vhost Entries for Webmail
https://panel.domain.com is already written in the Docs and Forums: http://forums.sentora.org/showthread.php...4#pid14844
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#6
RE: SSL and Custom Vhost Entries for Webmail
Hi

Im getting the following error if i try to open https://www.domain.com/webmail

This page isn’t working
www.domain.com is currently unable to handle this request.
HTTP ERROR 500
When i open https://www.domain.com its working fine

I use the following for webmail.
# Alias for roundcube WebMail login
Alias "/webmail" "/etc/sentora/panel/etc/apps/webmail"
<Directory "/etc/sentora/panel/etc/apps/webmail/">
 Options +FollowSymLinks -Indexes
  AllowOverride All
  Require all granted
</Directory>

regards
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Using Custom Vhost Entries for Webmail, MySQL, Etc. TGates 83 327 ,410 04-21-2020, 04:31 PM
Last Post: Jettaman
How to overwrite default admin. vhost? NIicK 1 7 ,880 03-27-2016, 01:16 AM
Last Post: Me.B
Roundcube Webmail https path pthalmann 0 5 ,530 12-29-2014, 09:09 AM
Last Post: pthalmann

Forum Jump:


Users browsing this thread: 1 Guest(s)