Skip to main content

Website in one server, mail in another

Comments

3 comments

  • cPanelMichael
    Hello, You could try following the workaround advice referenced on the following thread: Change /webmail Redirect for One Domain However, note that with EA4, the instructions for modifying an individual Virtual Host have changed and are documented at: Modify Apache Virtual Hosts with Include Files - EasyApache 4 - cPanel Documentation Thank you.
    0
  • acpro
    Hi. Thanks for pointing out.. i also find this useful: tecadmin.net/add-custom-settings-in-whm-cpanel-apache-virtualhost/ Ended up doing this: -For Apache 2.4, check Apache version and change 2_4 to Apache version -Non SSL
    mkdir -p /etc/apache2/conf.d/userdata/std/2_4/domain/domain.com/ cd /etc/apache2/conf.d/userdata/std/2_4/domain/domain.com/ nano extra.conf ScriptAlias /webmail /home/domain/public_html/email/ ScriptAliasMatch ^/webmail/(.*) /home/domain/public_html/email/ /scripts/rebuildhttpdconf service httpd restart
    0
  • cPanelMichael
    Hello @acpro, I'm happy to see you were able to find a solution. Thank you for updating this thread with the outcome.
    0

Please sign in to leave a comment.