cPanel webmail on port 2096

mejay

Verified User
Joined
Mar 1, 2020
Messages
6
I see in the docs where I can redirect :2096 to /webmail or /roundcube so that cPanel saved shortcuts to webmail continue working, and that works perfectly.

However, I would like to keep :2096 in the address bar instead of the address bar changing to /webmail.

The reason is that the Edge/Chrome password manager matches up the website using the :2096 and when that is no longer present, it does not automatically give the user their previously saved password.

What is the best way to keep :2096 directly in the address bar instead of doing a redirect?
 
Since nothing on your server is actually listening on port 2096 I don't think anything will work.

You could make the webserver listen on 2096 as well and then you could end up with :2096/webmail.
 
What is the best way to keep :2096 directly in the address bar instead of doing a redirect?

Either make a webserver to listen the port or use a firewall for forwarding traffic.

Directadmin does not offer step-by-step instructions for this case, but if you want to customize a webserver here is basic information:

- https://docs.directadmin.com/webservices/apache/customizing.html
- https://docs.directadmin.com/webservices/nginx/customizing-nginx.html
- https://docs.directadmin.com/webservices/nginx_apache/customizing-nginx-apache.html
- https://docs.directadmin.com/webservices/openlitespeed/customizing-ols.html

You will need to carefully read the suggested docs to get the idea. If you want to save time you might hire somebody to do this setup for you. I am available for this job.
 
Back
Top