Type email into address bar, get redirected like xyz.com/webmail

USA_Webmaster

Well-Known Member
Dec 10, 2015
68
12
58
USA
cPanel Access Level
Root Administrator
My entire site is hosted on the WHM / cPanel platform, but how do I redirect when I type "[email protected]" to just goto the webmail page?

Normally, a user could visit: http://domain.com/webmail (or :2096) but I wish to skip step, auto-fill username and just prompt password input.

Firefox calls it awesome bar
IE / Chrome calls is address bar

 

Attachments

Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,256
463
Hello,

There are no native features in cPanel/WHM that will automatically redirect users who enter an email address in the browser's address bar to the Webmail service. You can read more about RFC compliance with reserved characters in the address bar at:

http://www.ietf.org/rfc/rfc1738.txt

Thank you.
 
  • Like
Reactions: USA_Webmaster

USA_Webmaster

Well-Known Member
Dec 10, 2015
68
12
58
USA
cPanel Access Level
Root Administrator
Hello,

There are no native features in cPanel/WHM that will automatically redirect users who enter an email address in the browser's address bar to the Webmail service. You can read more about RFC compliance with reserved characters in the address bar at:

http://www.ietf.org/rfc/rfc1738.txt

Thank you.
Your basically saying that no browsers support this because of bad usability or complaints or something like that?

Thanks for this link, I'm not sure if I'll read it all but I'm gonna start...

Is this something that is controlled server side, and that I can just create redirect rule?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,256
463
Hello,

It's a reserved character. It doesn't mean you can't use it in an address bar of a browser, however the particular URL you want to use is not supported in cPanel/WHM.

Thank you.