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.

Using Custom Vhost Entries for Webmail, MySQL, Etc.
#47
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
You can NOT use 'mail.domain.com' since this is reserved for your actual mail server connections! Delete it from sub domains.

You did not read the tutorial completely.

You do NOT create webmail.domain.com sub domain in the sub domain manager. (In your case mail.domain.com)
From tutorial:
Code:
(NOTE: Do NOT add these sub-domains in the sub-domain module!)


Your custom vhost entries are not correct:
Code:
</virtualHost>
# Configuration for WebMail
<VirtualHost *:80>
   ServerAdmin mail@domain.tld
   DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
   
#php_admin_value
open_basedir "/etc/sentora/panel/etc/apps/webmail:/var/sentora/temp/"
   php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
   ServerName mail.domain.com
   AddType application/x-httpd-php .php3 .php
   <Directory />
       Options FollowSymLinks Indexes
       AllowOverride All
       Order Allow,Deny
       Allow from all
   </Directory>
As per the tutorial, it should be:
Code:
</VirtualHost>

   # Configuration for WebMail - webmail.yoursite.tld
   <VirtualHost *:80>
   ServerAdmin webmaster[at]yoursite.tld
       DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
       ServerName webmail.yoursite.tld
   AddType application/x-httpd-php .php3 .php
       <Directory />
       Options FollowSymLinks Indexes
       AllowOverride All
       Order Allow,Deny
       Allow from all
       </Directory>
Also in the tutorial:

Code:
You will also need to add them in your DNS registrar and in Sentora's DNS Manager module
(add A records webmail.yoursite.tld)
-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:


Messages In This Thread
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - by TGates - 03-04-2017, 05:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
SSL and Custom Vhost Entries for Webmail etienne7702 5 15 ,830 03-08-2018, 09:54 PM
Last Post: etienne7702
How to overwrite default admin. vhost? NIicK 1 7 ,036 03-27-2016, 01:16 AM
Last Post: Me.B
Roundcube Webmail https path pthalmann 0 4 ,892 12-29-2014, 09:09 AM
Last Post: pthalmann

Forum Jump:


Users browsing this thread: 2 Guest(s)