Skip to main content

What is the purpose of Change Hostname?

Comments

6 comments

  • cPanelLauren
    Hello @AppleUnixUbuntuKali The documentation here should be useful: Change Hostname - Version 78 Documentation - cPanel Documentation I should also stress that the hostname should have a valid A record and should resolve to the server.
    0
  • AppleUnixUbuntuKali
    What internal services (and may be external too) are connected to this particular hostname? Since nothing seems to be broken except cPanel SSL certificates, I can change it whenever and it should be good to go? What I am trying to ask is that it's not going to break what's hosted on the server and being used by over 100 people in a day? Also, can you please guide me whether I need to make any other changes in the WHM before / after changing the hostname? Like CNAME, etc?
    0
  • cPanelLauren
    cPanel licensing requires a valid hostname while licensing may function at this point it is possible that it will fail if the hostname is not a fully qualified domain name and does not resolve to the IP address of the server. A hostname allows for the server to be differentiated from another machine. Other services could potentially have an issue functioning if the hostname is set to something that is not a fully qualified domain name. SSL services will absolutely not work, without a hostname that resolves to the server. If you're not understanding what a hostname does and want to read more about it the following Wikipedia article is pretty detailed: Hostname - Wikipedia
    0
  • AppleUnixUbuntuKali
    Does it matter if the valid hostname I enter points to another server or does it have to point to the server where my WHM is hosted? Because I changed my hostname to a valid hostname, but now all the server emails I am getting are "Mail delivery failed: returning message to sender". Can you please help with this?
    0
  • cPanelLauren
    The hostname must point to your server, it absolutely should not point to another server. I'd suggest selecting a hostname that is not in use by any other server, pointing it to your server and then checking to see if the system mail continues to fail to be delivered.
    0
  • AppleUnixUbuntuKali
    Things are much better now. So I created a support ticket with cPanel guys and they have been amazing to help me out. Two issues: 1. Like you said, I didnt have the hostname pointing to my server. I pointed it to my server and "hostname cant be resolved" error was gone. However I was still getting server health check and other emails from mailer-daemon. So I created a MX record and pointed it to my hostname. That fixed the mailer-daemon sender issues and I started getting normal emails from root account 2. I was able to access WHM / cPanel with HTTPS however running cpanel sslcertchecks was still giving me dovecot and exim failed errors. CPanel guy suggested I open port 80 for incoming connections for Sectigo"s IP addresses which he provided me. I did that, ran the same command with retry flag and all was good. Thanks a lot for your help!
    0

Please sign in to leave a comment.