This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

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
Thanks given by:
#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
Thanks given by: etienne7702
#3
RE: SSL and Custom Vhost Entries for Webmail
Thanks. It is working great.
Reply
Thanks given by:
#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
Thanks given by:
#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
Thanks given by:
#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
Thanks given by:


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

Forum Jump:


Users browsing this thread: 1 Guest(s)