Create 301 Redirects on New Server

LucaMilan

Registered
Dec 15, 2016
4
0
1
Milan, Italy
cPanel Access Level
Reseller Owner
Hi, I'm currently moving a website "http://site1" from another server (win2008r2, w/Plesk) to a new cPanel centos based server (dedicated).
The problem is that on the old server there is an ecommerce website with a SSL certificates "https://ecommerce".
When I digit https://ecommerce or http://site1 everything works right. But when I digit https://site1 the certificates pop-up is show and it redirect users to https://ecommerce, everything without any error.
This is due because old server has only one IP address shared and is not possible to limit the certificate to one website only.

BUT now I've brought a new server, and moved the http://site1 to this new one. But I cannot create 301 redirects to be graceful to google index (yes, google grab more then 100 wrong urls).
Now if a link to https://site1 there is not redirect to old server, but I've got a 404 error and google will penalize me.

Is there a way to create a "global htacces" to redirect traffic to the homepage?

Please, help me and forgive my bad english...
 

cPanelMichael

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

It's not a feature within cPanel, but rather it's found in Web Host Manager:

"WHM Home >> SSL/TLS >> Manage AutoSSL"

Hi, I'm currently moving a website "http://site1" from another server (win2008r2, w/Plesk) to a new cPanel centos based server (dedicated).
Are you sure you have root access to the dedicated server, or do you only have reseller access?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463