Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20
  1. #1
    Member
    Join Date
    Dec 2005
    Posts
    5

    Post [Case 4616] Allow domain names that begin with a digit

    I'm trying to add a domain onto my hosting account. When I click on "add domains" and type my info in, it gives me an error stating that the domain must not begin with a digit (it's 4******.com)

    Is there anyways to get around this? Is there a fix for it? Or will i have to buy another domain name? I just bought this one yesterday!!

  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    Domain names can legitimately start with a digit, as I'm sure you know.

    If cPanel doesn't allow the addition of domain names that start with a digit, you should probably contact them to see why and if there is a fix in the pipeline.

    Have you tried contacting cPanel support?

  3. #3
    Member
    Join Date
    Dec 2005
    Posts
    5

    Default

    My host said it was a default of cpanel and acted like it couldn't be changed... but i just added it as a domain on my other server no problem!! The trouble is... I REALLY do need it to be on the first server. Good plan on the support idea... will try that as well!! Thank you for your response hon!!

  4. #4
    Member TitaniumHosting's Avatar
    Join Date
    Dec 2004
    Location
    Ireland
    Posts
    157

    Default

    Quote Originally Posted by TooRight
    My host said it was a default of cpanel and acted like it couldn't be changed... but i just added it as a domain on my other server no problem!! The trouble is... I REALLY do need it to be on the first server. Good plan on the support idea... will try that as well!! Thank you for your response hon!!
    I can add them on my server no problem. Your host must have it disabled somehow.

  5. #5
    Member
    Join Date
    Jun 2005
    Posts
    159

    Default

    Quote Originally Posted by TitaniumHosting
    I can add them on my server no problem. Your host must have it disabled somehow.
    Highly doubtful, considering there is no option to do this.

    I have seen this stupid bug myself. It seems like a random issue at best, happening only on certain servers and for certain domains.

    This bug has already been submitted to bugzilla.cpanel.net quite a while ago, and I believe it has been addressed (in EDGE? RELEASE? no idea. Search bugzilla).

  6. #6
    Member
    Join Date
    Feb 2003
    Posts
    34

    Default

    Just to let everyone know that CPanel came out with new builds (RELEASE, CURRENT, and EDGE builds) on May 6th.

    I noticed last night that we are now having the same problem as posted above.

    I know as of last week we were still able to add sub-domains also and now we cant.

    Also if you change the username for the account to something not starting with a number the domain (instaed of using the auto fill name) will work as long as you add it thru WHM.

  7. #7
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    This is one of the wierd quirks of Cpanel ....

    I found that Cpanel WILL allow you to add a domain name starting with a numeric digit
    if it is on it's own web hosting account but won't allow you to add it if you try to add
    the domain as an add-on domain --- obviously a programming issue there.

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    95

    Default

    Edit /usr/local/cpanel/base/frontend/x/addon/index.html to remove the javascript check. Just get rid of these lines:

    Code:
        var pattern = /^[0-9]/;
        if (domainname.match(pattern) != null) {
            alert("Sorry, your domain name must not begin with a digit.");
            return false;
        }
    I have no idea why they added that. There's certainly nothing wrong with that kind of domain.

  9. #9
    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

    Default

    Make sure you you log the issue in bugzilla so that they're aware and can fix it. Referencing this thread would help.
    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

  10. #10
    Member
    Join Date
    Jun 2006
    Location
    India
    Posts
    10

    Red face "Domain must not begin with a digit"

    Hi All,

    If you are unable to add add-on domain starting with digit then you need to disable java script from your browser. It will allow you to add add-on domain
    Last edited by chirpy; 08-28-2006 at 05:10 AM.

  11. #11
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jan 2006
    Posts
    654

    Default sorry your subdomain must not begin with a digit ?

    Why not ?

    I thougt this was a bug in a previous cpanel version and it hasnt cropped up for a while. It seems in cpanel11 this checking is still in place.

    Can anyone explain why a subdomain shouldnt begin with a digit ?

  12. #12
    Member
    Join Date
    May 2005
    Posts
    41

    Default

    Add one more to this... Is there a workaround? Pretty please? It makes us seem pretty asinine in that we can't host a perfectly valid domain name...

    EDIT: In this case, it was not CPanel's fault, it was outdated RVSkins code. In either case, see this thread: http://forums.cpanel.net/f5/case-4616-allow-domain-names-begin-digit-52692.html#post332171
    Last edited by gmagana; 09-21-2007 at 11:53 AM.

  13. #13
    Member
    Join Date
    May 2005
    Posts
    41

    Default

    For those people who are still getting this error, if you have other front ends (such as RVSkins as of today), you might still get this error message when adding domains. In RVSkins, you have to edit out (or comment out) the following section on your skin's index html file:

    Code:
       var pattern = /^[0-9]/;
       if (domainname.match(pattern) != null) {
            alert("<cpanel Rvskin="print($CPDATA{'rl_lang22'})">");
            return false;
        }

  14. #14
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    You may want to vote for, post additional feedback and/or add yourself to this bug report:

    http://bugzilla.cpanel.net/show_bug.cgi?id=4170

  15. #15
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

Similar Threads & Tags
Similar threads

  1. Planned for 11.34 Display 4-digit years in WHM for Account Setup/Start dates [Case 49166]
    By BXW in forum Feature Requests for cPanel/WHM
    Replies: 7
    Last Post: 07-27-2011, 01:12 PM
  2. domain name starting with a digit.
    By alfhafemale in forum cPanel Developers
    Replies: 5
    Last Post: 05-02-2006, 05:36 AM
  3. How to point the default domain when no names servers exist to begin with!
    By E9N_Michio in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-30-2004, 04:30 AM
  4. domain names
    By bigfella in forum New User Questions
    Replies: 2
    Last Post: 06-12-2004, 03:40 AM
  5. Why can't I see both my domain names?
    By BadMange in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-14-2003, 07:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube