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 - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
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 - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
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
http://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 72 91,734 08-18-2018, 09:05 PM
Last Post: inkoop@topmatica.nl
Custom Error Pages/Static Pages TGates 8 11,980 05-11-2016, 03:15 PM
Last Post: Kumar
How to overwrite default admin. vhost? NIicK 1 1,998 03-27-2016, 01:16 AM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)