SOLVED RE-UPDATE SSL cPanel FOR HOSTNAME SERVER

HuyND

Active Member
Oct 29, 2019
26
4
3
Viet Nam
cPanel Access Level
Root Administrator
Hello team and everyone,
I'm system admin in Vietnam. I just migrate all accounts from old server named h1.mydomain.com.vn to the new server named test.h1.mydomain.com.vn. The domain test.h1.mydomain.com own its cPanel SSL. So I need to change the hostname on new server to h1.mydomain.com.vn and change the IP to the old IP server. The problem about the SSL cPanel about the hostname. So can I re-update the SSL cPanel the old hostname on new server.

Many thanks !

1606966790494.png
 

HuyND

Active Member
Oct 29, 2019
26
4
3
Viet Nam
cPanel Access Level
Root Administrator
Hello team and everyone,
I'm system admin in Vietnam. I just migrate all accounts from old server named h1.mydomain.com.vn to the new server named test.h1.mydomain.com.vn. The domain test.h1.mydomain.com own its cPanel SSL. So I need to change the hostname on new server to h1.mydomain.com.vn and change the IP to the old IP server. The problem about the SSL cPanel about the hostname. So can I re-update the SSL cPanel the old hostname on new server.

Many thanks !

View attachment 69221
Hello team,
I resolved this case by this command
Code:
/usr/local/cpanel/bin/checkallsslcerts
Everything ok


Many thanks
 
  • Like
Reactions: ZenHostingTravis

HuyND

Active Member
Oct 29, 2019
26
4
3
Viet Nam
cPanel Access Level
Root Administrator
Hi @HuyND,

Once you have set the new server's hostname to the old server's hostname, change the A record to point to it and the SSL certificate will be issued for the new server's hostname.

Hope that helps.
Hello ZenHostingTravis,
In this case, I still need keeping the old IP because it related IP license but I research and solve this case by the command /usr/local/cpanel/bin/checkallsslcerts

Many thanks
 
  • Like
Reactions: ZenHostingTravis

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
3,223
400
243
cPanel Access Level
Root Administrator
I'm glad you were able to get that resolved! as @ZenHostingTravis said, once the DNS is pointed to the correct location, cPanel will automatically issue a new certificate, or you can manually run the checkallsslcerts command once the DNS is in place to force that SSL to be issued immediately.
 
  • Like
Reactions: ZenHostingTravis