hello everyone.
I try to change the url of the email, as I've done yet in zpanel, but now is not working ...
some know how to solve this?
the TLS certificates I did as the zpanel, only adapting and changing some line where was zpanel to sentora, and is working perfectly.
but the url of the email does not work.
I followed these steps:
First, create the required subdomain via the subdomain manager in ZPanel. Just let it create a new home directory (we will change this anyways).
Next, add an A record in the DNS manager for this new subdomain.
Next, go to module admin-> Apache config -> Under "Override the virtual host setting" select the subdomain you just created.
Then we are going to uncheck "OpenBase enabled" and in the custom field text box add the Following line (this example is used webmail, edit the needed):
DocumentRoot "/ etc / sentora / panel / etc / apps / webmail"
The another example, if you wanted to set up panel.domainname.tld to point to the interface zpanel, the line above would look like this:
DocumentRoot "/ etc / sentora / panel"
Save que vhost entry.
Here the part of the vhost........
# DOMAIN: mail.princesslyz.com
<virtualhost *:80>
ServerName mail.princesslyz.com
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mail_princesslyz_com"
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"
ErrorLog "/var/sentora/logs/domains/zadmin/mail.princesslyz.com-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/mail.princesslyz.com-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/mail.princesslyz.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/mail_princesslyz_com">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 500 /_errorpages/500.html
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 403 /_errorpages/403.html
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
DocumentRoot "/etc/sentora/panel/etc/apps/webmail"
</virtualhost>
# END DOMAIN: mail.princesslyz.com
#################################################################
I try to change the url of the email, as I've done yet in zpanel, but now is not working ...
some know how to solve this?
the TLS certificates I did as the zpanel, only adapting and changing some line where was zpanel to sentora, and is working perfectly.
but the url of the email does not work.
I followed these steps:
First, create the required subdomain via the subdomain manager in ZPanel. Just let it create a new home directory (we will change this anyways).
Next, add an A record in the DNS manager for this new subdomain.
Next, go to module admin-> Apache config -> Under "Override the virtual host setting" select the subdomain you just created.
Then we are going to uncheck "OpenBase enabled" and in the custom field text box add the Following line (this example is used webmail, edit the needed):
DocumentRoot "/ etc / sentora / panel / etc / apps / webmail"
The another example, if you wanted to set up panel.domainname.tld to point to the interface zpanel, the line above would look like this:
DocumentRoot "/ etc / sentora / panel"
Save que vhost entry.
Here the part of the vhost........
# DOMAIN: mail.princesslyz.com
<virtualhost *:80>
ServerName mail.princesslyz.com
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mail_princesslyz_com"
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"
ErrorLog "/var/sentora/logs/domains/zadmin/mail.princesslyz.com-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/mail.princesslyz.com-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/mail.princesslyz.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/mail_princesslyz_com">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 500 /_errorpages/500.html
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 403 /_errorpages/403.html
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
DocumentRoot "/etc/sentora/panel/etc/apps/webmail"
</virtualhost>
# END DOMAIN: mail.princesslyz.com
#################################################################