{"id":342,"date":"2010-07-07T23:30:40","date_gmt":"2010-07-08T05:30:40","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=342"},"modified":"2019-10-30T06:13:07","modified_gmt":"2019-10-30T12:13:07","slug":"error-sorry-your-domain-must-not-begin-with-a-digit","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/error-sorry-your-domain-must-not-begin-with-a-digit\/","title":{"rendered":"Error &ldquo;Sorry, your domain must not begin with a digit&rdquo;"},"content":{"rendered":"<p>This is a CPanel bug that prevents users from adding domains that begin with a digit, the users will get this javascript alert:<br \/>\nSorry, your domain must not begin with a digit.<br \/>\nThis can be fixed via ssh, and do this carefully:<br \/>\nvi\u00a0 \/usr\/local\/cpanel\/base\/frontend\/x\/addon\/index.html<br \/>\nThe text you need should be around line 68 :<br \/>\nvar pattern = \/(^[.]|[.]$)\/;<br \/>\nif (domainname.match(pattern) != null) {<br \/>\nalert(Sorry, your domain name must not begin with a digit.);<br \/>\nreturn false;<br \/>\n}<br \/>\nYou should then comment that line out !<\/p>\n<p>From now, CPanel should now work fine with domains that begin with a digit. \ud83d\ude42<\/p>\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/www.supportpro.com\/freecheckup.php\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a CPanel bug that prevents users from adding domains that begin with a digit, the users will get this javascript alert: Sorry, your domain must not begin with&hellip;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-342","post","type-post","status-publish","format-standard","hentry","category-miscellaneous"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=342"}],"version-history":[{"count":2,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/342\/revisions"}],"predecessor-version":[{"id":4476,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/342\/revisions\/4476"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}