Hello, world! I'm still fairly new to cPanel and completely new to WHM... and loving it.I've been able to figure out a lot, but I could use some help with this one.
My main domain is let's say 1234.com, second level of the domain is completely numerical. Server name test.1234.com. I can set this w/ no problem under Server Configuration > Basic cPanel/WHM Setup, but under Networking Setup > Change Hostname, I get:
I tested w/ some other domains, and it rejects any that contain an all-numeric second-level. Something like test.1234a.com works just fine.Changing Hostname......Done
test.1234.com is not a valid hostname
Please refer to RFC 952 to determine valid hostname.
I asked my host about it, and they replied:
This seems to work great. The only problem was the license going bad, so I ran /usr/local/cpanel/cpkeyclt, fixed.I've found that cPanel doesn't like numbers in the hostname for some reason so it will kick it out (even though it works). Follow these steps if you wish to use a hostname with numbers.
a) Log into WHM and goto "Basic cPanel/WHM Setup" and change the hostname.
b) Log into the server via SSH and become the root user "sudo su -"
c) vi /etc/sysconfig/network (change entry in there, exit and save the file)
d) vi /etc/hosts (change entry in there, exit and save the file)
e) Run /scripts/upcp to update cpanel
Does anyone have anything to add to my host's advice, or does that sound like the complete solution to manually hack it in?
And, is the rejection by WHM possibly a bug? When it first happened, I was like? It's been my main domain since 2002 or so...
Thanks for your time!



LinkBack URL
About LinkBacks
I've been able to figure out a lot, but I could use some help with this one.
? It's been my main domain since 2002 or so...
Reply With Quote





