Jump to content

.CO domain min/max characters in configuration.php


Recommended Posts

Don't forget to add these lines to configuration.php to control the minimum and maximum number of characters allowed in .CO domain searches.

 

$DomainMinLengthRestrictions[".co"] = 3; 
$DomainMaxLengthRestrictions[".co"] = 63;

 

 

---

 

 

.CO domain names must meet the following technical requirements:

 

* 1st and last character must be a letter or number

* Letters A-Z (not case sensitive)

* Numbers 0-9

* Spanish IDNs are permitted

* Cannot include two consecutive dashes (--) in the 3rd and 4th positions

* Underlined characters not allowed

* Dashes (-) are allowed

* Spaces are not allowed

* Cannot exceed 63 characters

* Must not be on reserved list of names

* Domain Create operation must specify the Registrant and at least one Admin, Tech, and Billing contact, with a maximum of 7 contacts

* Domain can have term of 1-5 years

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
Don't forget to add these lines to configuration.php to control the minimum and maximum number of characters allowed in .CO domain searches.

 

$DomainMinLengthRestrictions[".co"] = 3; 
$DomainMaxLengthRestrictions[".co"] = 63;

 

 

---

 

 

.CO domain names must meet the following technical requirements:

 

* 1st and last character must be a letter or number

* Letters A-Z (not case sensitive)

* Numbers 0-9

* Spanish IDNs are permitted

* Cannot include two consecutive dashes (--) in the 3rd and 4th positions

* Underlined characters not allowed

* Dashes (-) are allowed

* Spaces are not allowed

* Cannot exceed 63 characters

* Must not be on reserved list of names

* Domain Create operation must specify the Registrant and at least one Admin, Tech, and Billing contact, with a maximum of 7 contacts

* Domain can have term of 1-5 years

 

---------------------

Hi,

we have WHMCS panel installed and we modified these files:

 

/includes/whoisservers.php

we added:

.co|whois.nic.co|Not found

.net.co|whois.nic.co|Not found

.com.co|whois.nic.co|Not found

.nom.co|whois.nic.co|Not found

 

and also we added the below PHP code to /includes/additionaldomainfields.php

## .CO DOMAIN REQUIREMENTS ##

 

 

 

$additionaldomainfields[".co"][] = array(

 

"Name" => "Registrant Contact",

 

"Type" => "text",

 

"Size" => "30",

 

"Default" => "",

 

"Required" => true,

 

);

 

we can check domain availabality in whois page correctly , but when we try to register a .co domain we get this error:

"An Error Occured

Domain Registration Error - Invalid domainName For Given ContactType"

 

would you please help us!?

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated