Web Hosting Talk







View Full Version : How to forward port 2082 > 2083


gunemalli
06-21-2009, 10:28 AM
Hello guys,

My first post here at cpanel, and this is cos i'm now a proud owner cpanel vps :)

Anyways, my question is how do i forward the unsecure 2082/2086 ports to the secure 2083/2087 ports.

I have already done the server tweaking so that /cpanel and /whm etc gets forwarded to the secure ports.

BTW i have noted that when i use http://domain.tld:2083 cpanel would automatically redirect to https, so just a port redirect/forward would be enough.

Can anyone help?

Thanks

foobic
06-22-2009, 12:15 AM
I have already done the server tweaking so that /cpanel and /whm etc gets forwarded to the secure ports.If you've set this in tweak settings, isn't it already redirecting all functions to https? What are you trying to block?

gunemalli
06-22-2009, 01:31 AM
well, i'm not trying to block anything. In cpanel, only /cpanel /whm like aliases are forwarded to the secure ports and https is added. but if i directly type the port number 2082/2086 etc it doesn't forward them to the secure ports.

what i want is to forward these to the secure ports. i don't need to hide the ports etc. it doesn't matter if they changed.

gunemalli
06-22-2009, 01:37 AM
http://www.webhostingtalk.com/showthread.php?p=6248931#post6248931

Please update me with these info if you can please.

Thanks

jphilipson
06-22-2009, 02:05 AM
In your WHM under "Tweak Settings", simply enable the check-box that say's "Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc."