Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Hostname with problems !

Discussion in 'General Discussion' started by galamba, Oct 6, 2004.

  1. galamba

    galamba Member

    Joined:
    Oct 2, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    hostname with problems

    I altered my hostname and without intention I put a space in the end of the hostname and now he appears this mistake "Invalid Hostname. (gravity.mywebhostnew.com). Hostnames may not contains spaces or tabs."
    in WHM and I don't get to enter in Change Hostname, because it continues appearing the same message.

    How do I do to change manually? I tried through SSH to change /etc/hosts and there he/she doesn't have the wrong hostname.

    Thank you
    :confused: :confused:
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    318
    Type the following from bash prompt as root:
    man hostname
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. galamba

    galamba Member

    Joined:
    Oct 2, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    thanks
    :D :D
     
  4. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    544
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    Gotta Love Search ---

    Gotta Love Search --- this just saved my rear end . . .
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice