Skip to main content

SSL and dedicated IP for VPS hostname

Comments

6 comments

  • cPanelMichael
    Hello :) You have to install the certificate for your services via: "WHM Home " Service Configuration " Manage Service SSL Certificates" Also, note that you should not keep a duplicate DNS zone for your hostname if you already have the "A" record for it added to another zone. Once you install the certificate for each service, you must access the service over the SSL certificate name to avoid mismatch warnings. Thank you.
    0
  • vespera
    Thank you very much for your answer - somehow I completely skipped this "Manage Service SSL Certificates"... and I'll sort this A record issue. If I understand it right, I can just delete the certificate that I've installed under SSL/TLS and install it using Manage Service SSL Certificates instead. Is there anything else that I should be aware of when installing the certificate for cPanel/WHM/Webmail Service, Dovecot Mail Server, Exim (SMTP) Server and FTP Server? I assume nothing much will change in the way of using any of those services. I've enabled the "Always redirect to SSL" inside Tweak Settings", if that counts. And, if I may ask another question, it's not much, but it's bothering me a bit - when I open "Show IP Address Usage", under HTTP Usage, I just can't get it to show my actual hostname like host.domain.com, instead, it's showing the original hostname that I got when I first purchased the VPS. I've checked my etc/hosts and etc/hostname files, but they seem OK. Where else should I look? Thank you once again.
    0
  • cPanelMichael
    1. You can delete the certificate under "Manage SSL Hosts" if you prefer, but it's not required. 2. Try looking for and removing entries for the old hostname /var/cpanel/users/* or in /var/cpanel/userdata/nobody/* and then rebuild the Apache configuration file via: /scripts/rebuildhttpdconf Thank you.
    0
  • vespera
    Well, the part with the SSL worked as it should, as for the IP usage, maybe I've found the reason - the only file that I could find which still contains the original hostname is var/cpanel/userdata/nobody/main The content of this file is addon_domains: {} main_domain: 1234.server.com parked_domains: [] sub_domains: - host.domain.com Should I change the main domain here (this 1234.server.com was the original hostname)? And I'm not sure I understand why my hostname host.domain.com is listed as a subdomain and the original hostname as the main domain. Thank's again
    0
  • cPanelMichael
    Yes, you can change the main domain name in this file and remove the subdomain. After you save the file, rebuild the Apache configuration file via: /scripts/rebuildhttpdconf Thanks.
    0
  • vespera
    Thank's a lot!
    0

Please sign in to leave a comment.