Skip to main content

How to replace IP in cPanel WHM URL with host domain name?

Comments

9 comments

  • cPRex Jurassic Moderator
    Hey there! You could use the hostname of the server, which should already be configured when the server was created, although you may want to change it to something more personal to your system:
    0
  • petenorris
    The hostname is in place. Assigning or changing the hostname was about the first thing that I did.
    0
  • cPRex Jurassic Moderator
    You can update the redirection option in WHM >> Tweak Settings to always go to the hostname:
    0
  • petenorris
    I don't think that a redirect would help. Question: Does the host domain name need to have an account under Home/SSL/TLS/Manage SSL Hosts?
    0
  • cPRex Jurassic Moderator
    I have a few thoughts. First of all a single domain is not the hostname. cPanel requires the hostname to be a fully-qualified domain, such as host.domain.com or server1.domain.com. Just "domain.com" is not a valid hostname. Yes, it is normal for the domain (just the domain.com portion, not the full hostname) to be in Manage SSL Hosts. What issue is leading you to see the IP instead of the hostname in the browser? How are you getting to that point? I think that's what we need to know first before we can recommend anything.
    0
  • petenorris
    I got it figured out. Thank you.
    0
  • cPRex Jurassic Moderator
    What was the solution you found?
    0
  • petenorris
    I needed to put the subdomain name before the tld domain name like so:
    0
  • cPRex Jurassic Moderator
    I'm glad that's all it was!
    0

Please sign in to leave a comment.