step 1 : create the subdomain in the control panel domain > sub-domain create ( then restart Apache server )
step 2: go to DNS manager , create record under A , for webmail ( you should wait for this to activate … luckily couple of hours https://www.whatsmydns.net use this site to check the reach)
step 3 : edit your virtual hosts ,
SSH command : sudo service apache2 restartstep 2: go to DNS manager , create record under A , for webmail ( you should wait for this to activate … luckily couple of hours https://www.whatsmydns.net use this site to check the reach)
step 3 : edit your virtual hosts ,
SSH Command : vi /etc/zpanel/configs/apache/httpd-vhosts.conf# DOMAIN: webmail.my-domain.com<virtualhost *:80>ServerName webmail.my-domain.comServerAlias webmail.my-domain.comServerAdmin zadmin@localhostDocumentRoot "/etc/zpanel/panel/etc/apps/webmail"</virtualhost># END DOMAIN: webmail.my-domain.comnow restart Apache again.
No comments:
Post a Comment