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.

change e-mail url
#1
change e-mail url
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
#################################################################
Reply
Thanks given by:
#2
RE: change e-mail url
Search for the forum about SSL I had posted more than once a cleaner solution also add later a .htaccess for webmail to redirect to new URL.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by: henrique araujo
#3
RE: change e-mail url
(01-10-2015, 08:18 PM)Me.B Wrote: Search for the forum about SSL I had posted more than once a cleaner solution also add later a .htaccess for webmail to redirect to new URL.

M B

now all ok...
i use vhosts.conf por this.
thanks my friend, god bless you!
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
External mail client cannot connect to server iraqiboy90 2 6 ,211 02-28-2021, 11:34 AM
Last Post: iraqiboy90
Postfix mail.log to database stikekar 2 7 ,198 03-02-2019, 01:22 AM
Last Post: TGates
E-mail quota limit danandrade 6 26 ,382 08-28-2018, 05:22 PM
Last Post: speeddemon786

Forum Jump:


Users browsing this thread: 1 Guest(s)