• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

problems with subdomains

R

ray007

Guest
I'm trying to do some subdomain maintenance on the commandline and have run into some problems. Creating and updating seems to work fine, but removing (-r) or getting infos on subdomains (-i) always gives me an error:

# /usr/local/psa/bin/subdomain -i -s <subdomainname> -d <domainname>
ERROR: PleskBadURIException
Empty locator name

0: /usr/local/psa/admin/plib/Location.php:37
Location->__construct(object of type plesk__client__domain__hosting__subdomains__location, string 'name', string '')
1: /usr/local/psa/admin/plib/Location.php:55
Location->applyLocator(string 'subdomain', string 'name', string '')
2: /usr/local/psa/admin/plib/UIPointer.php:117
UIPointer->appendLocation(string 'subdomain', string 'name', string '')
3: /usr/local/psa/admin/plib/api-common/class.cuSubDomain.php:279
cuSubDomain->cuSubDomain()
4: /usr/local/psa/admin/plib/api-cli/subdomain.php:28

Trying to remove a subdomain with -r instead of -i brings exactly the same error.

I then tried to use the sudomainng-script:
/usr/local/psa/admin/bin/subdomainmng --remove --subdomain-name=<subdomainname> --vhost-name=<domainname>

There is no error at all on the commandline, but the subdomain isn't removed either ...

Btw: is there some xml rpc call to manage subdomains? I have been looking around the documentation and the schemas, and couldn't find anything ...
 
Back
Top