jsotelo

Registered
Jul 21, 2004
2
0
151
Hello

I changed my hostname but i make a mistake :eek: 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
 

northtrex

Active Member
Feb 26, 2005
30
0
156
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.
 

jsotelo

Registered
Jul 21, 2004
2
0
151
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

:)