/cpanel always redirecting to :2083 even when the port is closed

lauer

Member
Aug 29, 2008
9
0
51
Hi

I have two cpanel servers, and on the first when a customer is behind a firewall and tries to connect to the cpanel webinterface, he gets a "Detecting Your Internet Connection ...", where he can choose to be behind firewall.

On the other server the redirection to the domain:2083 does happen in a second, which out give the customer a chance to choose to be behind a firewall.

How can I get this webpage shown to all customers behind firewall on server two?

Kind regards

Jesper
 

sp3ctre69

Well-Known Member
Aug 14, 2006
111
5
168
I know this is an old thread but I am having exactly the same problem with a brand new server. Settings for redirection are definitely the same on both servers. Does it depend on any other settings?
 

sp3ctre69

Well-Known Member
Aug 14, 2006
111
5
168
On the first server the settings are:

Always redirect to SSL = On
Non SSL redirect = Hostname
SSL Redirect = Hostname

When I set the new server to exactly the same it bahaves differently.

On the first server it pops a screen saying "detecting your internet connection..." then gives me the option of SSL or not. On the second (new) server it just tries to connect to SSL and fails because the port is blocked.

Just to clarify I want the "detecting your internet connection..." screen to be displayed on both servers.
 

sp3ctre69

Well-Known Member
Aug 14, 2006
111
5
168
OK, found the answer I think....

Whether or not SSL is used with the secondary redirect to http://cpanel.domain.com depends on the existence of a SSL VirtualHost on the same IP address.
The page is not appearing on an old domain, but does on new ones... What is an SSL virtualhost, and how to I enable it on the domain in question?

Thanks

EDIT: scratch that, I was using a domain on the wrong box... still having the problem on new server :(
 
Last edited:

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Hmm, login to cPanel here: yourdomain.com/cpanel/ once logged in, at bottom of the page theres a link to:

"Reset All Interface Settings"

Click that, then logout and clear your cache. I'm not clear if that has any effect on that detecting internet connection tool but it can't hurt to try that.

Your issues sounds nothing like the OPs issue to me.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
I would highly suggest also ensuring every setting is the same in WHM > Tweak Settings area for both machines. You can copy the /var/cpanel/cpanel.config file on the working machine, then copy it over to the non-working machine as cpanel.config.working to /var/cpanel, then do a diff on both files to see what is different in them:

Code:
diff /var/cpanel/cpanel.config /var/cpanel/cpanel.config.working