https redirecting to wrong site !

Oct 8, 2013
19
1
3
New Richmond
cPanel Access Level
Root Administrator
Twitter
Hi, I'm currently moving a server between two location, the problem is that I don't have SSH access on the first one, so i'm transferring manually all cpbackup. The problem is that there's some account with SSL the certificate is transferred but I just realize that's two of my client who have really strange behaviour. If I go to https://client1.com everything is fine, but if I go to https://client2.com its redirecting me to https://client1.com ! Anybody have an idea of what's happening here ?

Thank you
 

quietFinn

Well-Known Member
Feb 4, 2006
1,902
465
438
Finland
cPanel Access Level
Root Administrator
I would guess that those accounts have the same IP address.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,902
465
438
Finland
cPanel Access Level
Root Administrator
You only told that you have 2 sites with ssl certificates, one of them works ok, the other one does not work.
What you described might happen if you have 2 sites using same IP and ssl certificate installed without SNI.

Do you have more sites with ssl certificate, and if yes, have you tested that they work ok?

What is the OS version in the new server?

What is cPanel version in the new server?
 
Oct 8, 2013
19
1
3
New Richmond
cPanel Access Level
Root Administrator
Twitter
I have another website with a SSL certificate that work really great.

CentOS release 6.4 (Final)
Linux ######## 3.8.13-xxxx-grs-ipv6-64 #4 SMP Mon Aug 5 14:37:04 CEST 2013 x86_64 x86_64 x86_64 GNU/Linux

cPanel 11.38.2 (build 7)

I'll go take a look at what is SNI (I've never worked with SSL before...)
 

quietFinn

Well-Known Member
Feb 4, 2006
1,902
465
438
Finland
cPanel Access Level
Root Administrator

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

Yes, it does sound like you have multiple SSL certificates installed on the same IP address. You will need to ensure you are using cPanel version 11.38 or higher, and that the installed OS is CentOS 6, RHEL 6, or Cloud Linux 6 to take advantage of the SNI functionality.

Thank you.