Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    2

    Question Help with Change Host NAme

    Hello

    I changed my hostname but i make a mistake and now every time i click on any option such as Tweak settings or Server Information it shows a message:

    Invalid Hostname. (host.websperu.net ). Hostnames may not contains spaces or tabs.

    How can i reset the hostname?

    Thank you

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Feb 2005
    Posts
    30

    Default

    Hello,

    You can edit localhost and hostname at /etc/hosts. You will see a line ar the end of the file containing hosts.... or host1..... then just replace it by the original and check if host.websperu.net is located here before making the changes. To edit, do it (if you have pico installed): pico hosts or pico /etc/hosts.

    Hope it can help.

  4. #4
    Registered User
    Join Date
    Jul 2004
    Posts
    2

    Smile Thank you

    Thank you
    I rebooted my server via ssh
    and all is fine at this time..
    ... Next time i will try to edit the files


Similar Threads & Tags
Similar threads

  1. Change of host, impossible to redirect to subdomain
    By tokyo in forum New User Questions
    Replies: 1
    Last Post: 07-05-2011, 11:55 PM
  2. How to change the host name within Enkompass
    By deddy in forum Enkompass Discussions
    Replies: 2
    Last Post: 03-11-2011, 04:53 AM
  3. Server Host Name Change
    By kwc5811 in forum Enkompass Discussions
    Replies: 6
    Last Post: 01-11-2011, 10:44 AM
  4. Change the default server page on host
    By redlorry919 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-19-2005, 05:06 AM
  5. change Default Virtual Host entry
    By ryantechsupport in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-04-2005, 02:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube