multiple hostnames after transferring servers
I moved my site to another with cpanel and Almalinux installed. It had a temporary hostname for the transfer process. I changed the hostname with WHM but the temporary one is still somewhere on the system. How do I remove it?
-
How did you change the hostname? There is a WHM screen to change it. 0 -
I used /usr/local/cpanel/bin/set_hostname to set my hostname even though I had done so in WHM. Both say the correct hostname I edited /etc/hosts to remove the offending host name I deleted the certificates and ran /usr/local/cpanel/bin/checkallsslcerts EDIT: Cpanel is still looking for the offending hostname and winds up on the certificates The system will attempt to install a certificate for the "cpanel" service from the cPanel store. Undoing previous HTTP DCV setup (/var/www/html/.well-known/pki-validation/omitted.txt) " " complete. The system does not control "[omitted].cprapid.com". (Checking for previous DNS DCV setup anyway ") Enqueueing undo of previous DNS DCV setup (CNAME _omitted.gabby.mycockerspaniel.com) " Undoing DNS DCV setup " " done. [omitted]cprapid.com: No DNS DCV setup exists.
0 -
Do you see the old hostname present inside the Apache configuration file? (/etc/apache2/conf/httpd.conf) 0 -
I'm glad you were ablet to find a good workaround! 0
Please sign in to leave a comment.
Comments
5 comments