• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Plesk 10.1.1 XML RPC - Creating Subdomains?

S

sPuR

Guest
Product: Plesk 10.1.1
OS: CentOs 5.5
Server: Apache 2.2
PHP 5.3.5

Packet:
<packet version="1.6.2.0">
<subdomain>
<add>
<parent>domain.com</parent>
<name>phptest9</name>
<home>/phptest9</home>
</add>
</subdomain>
</packet>

Expected Result:
A Physical SubDomain

The Result:
the <home> field returns
error 1017 Feature supports only for windows version. Request should not have the home parameter. error 1013 Subomain with ID not found

Taking it out makes a domain alias and not a physical subdomain.

Is there a fix for this or another work around?
 
Last edited by a moderator:
Hi Igor,

Yes it does the same thing, doesn't even make an FTP user. The Document Root Field never gets filled with any data. it defaults to /httpdocs I also cannot edit this field either using the API. So I would have to manually create the directory and type this in within the control panel.

I also noticed the documentation mentioned version 1.5.2 is the documentation maybe not updated for version 1.6.2 ?

attached image showing the field causing the problem.
 

Attachments

  • example.jpg
    example.jpg
    31 KB · Views: 11
Last edited by a moderator:
Sorry to up another topic again, but I could use some help from a fix for this issue too.

Are there any news concerning the <home> property when creating a subdomain through the API? I'm still getting the "Only in Windows" error whenever I try to specify that field in my requests.

Using Plesk 10.4.4 #30 on Unix CentOS.

Regards.
 
Back
Top