Cannot access http://mail.mydomain.com since transfer to another server

HappymanUK

Well-Known Member
May 3, 2003
255
1
168
Since I moved over to a new server (and used the WHM transfer option), everything is OK, apart from accessing webmail.

I used to be able to access using http://mail.mydomain.com and it would popup asking for the username & password.

Since the move, all I get is:

"Great Success !
Apache is working on your cPanel® and WHM™ Server"

Any ideas ?? - I can still access it using http://www.mydomain.com/webmail, but was just wondering what has gone wrong.

This is the same with all the domains hosted on the server.

Thanks in advance,
Daniel
 

krava

Well-Known Member
Sep 23, 2003
149
0
166
cPanel Access Level
Root Administrator
Hello.

Add:
ScriptAlias /mail /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/mail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi

in /etc/httpd/conf/httpd.conf

and then restart apache:
#/etc/rc.d/init.d/httpd stop
#/etc/rc.d/init.d/httpd start

Everything should work fine.
 

HappymanUK

Well-Known Member
May 3, 2003
255
1
168
That hasn't worked :(

Have I put it in the wrong place ? - I just added it to the end of the httpd.conf file and restart httpd ?

Thanks
Daniel
 

chris8lunch

Well-Known Member
May 27, 2006
160
0
166
This isn't a default option in WHM/cPanel.

Go to your root WHM and go to Tweak Settings and check the mark - "Add the mail. prefix for mailman urls (ie http://mail.domain.com/mailman)"