Article ID: 9556, created on Jan 10, 2011, last review on Apr 16, 2012

  • Applies to:
  • Plesk 10.1 for Linux/Unix
  • Plesk 10.1 for Windows

Symptoms

When I try to associate TLDs msk.ru, msk.su, net.ru, org.ru or pp.ru with the RU-CENTER plug-in, the following error occurs:

“Registrar '' does not support TLD '<your-tld>'”.

Resolution

Add the support for the TLDs in registrar code and associate RU-CENTER with TLDs from the interface. You will need PHP programming skills to perform actions described below.

1. Add the support for the TLDs in code.
1.1. Add the TLD-registrar association to file rucenter.php. The default file location is as follows:

On Linux: /opt/plesk-billing/lib-mbapi/include/modules/registrar/rucenter.php
On Windows: C:\Program Files\Parallels\Plesk\billing\htdocs\lib-mbapi\include\modules\registrar\rucenter.php

1.2. In method getNewOrderRequest, find the following lines:
default:
    $section->service = 'domain_rrp';
    break;

and add the following code before them:
case "net.ru":
    $section->service = 'domain_net_ru';
    $section->template = 'client_ru';
    $section->type = 'CORPORATE';
    $section->domain = $domain;
    break;
case "org.ru":
    $section->service = 'domain_org_ru';
    $section->template = 'client_ru';
    $section->type = 'CORPORATE';
    $section->domain = $domain;
    break;
case "pp.ru":
    $section->service = 'domain_pp_ru';
    $section->template = 'client_ru';
    $section->type = 'CORPORATE';
    $section->domain = $domain;
    break;
case "msk.ru":
    $section->service = 'domain_msk_ru';
    $section->template = 'client_ru';
    $section->type = 'CORPORATE';
    $section->domain = $domain;
    break;
case "msk.su":
    $section->service = 'domain_msk_su';
    $section->template = 'client_ru';
    $section->type = 'CORPORATE';
    $section->domain = $domain;
    break;

1.3. Add new zones in array stored in private field $contractOnlyTlds:
$contractOnlyTlds = array('рф', 'ru', 'su', ‘msk.ru’, ‘msk.su’, ‘net.ru’, ‘org.ru’, ‘pp.ru’);

1.4. Add new or modify existent whois entries for new zones in file Whois.php. The default file location is as follows:

On Linux: /opt/plesk-billing/lib-domain/include/whois/Whois.php
On Windows: C:\Program Files\Parallels\Plesk\billing\htdocs\lib-domain\include\whois\Whois.php

find there public field $whoisServers and add:
‘net.ru’ => array (‘whois.nic.ru’, ‘No entries found’),
‘org.ru’ => array (‘whois.nic.ru’, ‘No entries found’),
‘pp.ru’ => array (‘whois.nic.ru’, ‘No entries found’),
‘msk.ru’ => array (‘whois.nic.ru’, ‘No entries found’),
‘msk.su’ => array (‘whois.nic.ru’, ‘No entries found’),

Now RU-CENTER plug-in supports new TLDs; associate them with RU-CENTER from the Parallels Customer and Business Manager interface.

2. Go to System > System Configuration > Domain TLDs List and choose one of the new TLDs.
3. Click the TLD name, associate it with RU-CENTER, and click Save.

df2db7f3302fe384002b885ca84f1a2f a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 c796c01d6951fa24ed54c7f1111667c6 def31538ba607bde27398f48ab5956be 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF