PDA

View Full Version : Invalid Hostname


Sasuke
03-01-2005, 00:55
Hi,
Im having trouble with cpanel, i changed the hostname but there was a space in between the ip and now when i try to change the hostname again all i get is Invalid Hostname. (localhost. xx.xx.xxx.xxx). Hostnames may not contains spaces or tabs.
is there any way to fix this?

faqall
03-01-2005, 11:23
1) login to your server via ssh
2) su -
3) wget http://ezsm.net/hostname.sh
5) sh hostname.sh
6) answer the questions
7) done.

that should help you. ive used it and it supports a few control panels.

Sasuke
03-01-2005, 20:08
How do u run hostname.sh... i cant view it in my apache because it is not configured correctly

arty
03-01-2005, 22:17
apache??
you don't need apache for that

just download the file and execure it
it's only an sh script
and a very good one btw

all you have to do is type "sh hostname.sh"

faqall
03-01-2005, 23:06
this is done via ssh. if you need a hand just ask and id be more than willing to help you do this!