I'm trying to create a subdomain using API but get this as the response:
[result] => Array
(
[status] => error
[errcode] => 1002
[errtext] => ProtDir_Apache::update() failed: Unable to create user protection directory:Service node is unknown for sysuser with id=0
)
What am I doing wrong?
Here is my request:
<subdomain>
<add>
<parent>configuredDomain.com</parent>
<name>business</name>
<property>
<name>www_root</name>
<value>/subdomains/business/httpdocs</value>
</property>
<property>
<name>ssl</name>
<value>true</value>
</property>
<property>
<name>php</name>
<value>true</value>
</property>
<property>
<name>php_handler_type</name>
<value>fastcgi</value>
</property>
<property>
<name>cgi</name>
<value>true</value>
</property>
<property>
<name>fastcgi</name>
<value>true</value>
</property>
</add>
</subdomain>
Also, how do you set the hosting type for the subdomain?! I don't see this in the docs.
Thanks.
[result] => Array
(
[status] => error
[errcode] => 1002
[errtext] => ProtDir_Apache::update() failed: Unable to create user protection directory:Service node is unknown for sysuser with id=0
)
What am I doing wrong?
Here is my request:
<subdomain>
<add>
<parent>configuredDomain.com</parent>
<name>business</name>
<property>
<name>www_root</name>
<value>/subdomains/business/httpdocs</value>
</property>
<property>
<name>ssl</name>
<value>true</value>
</property>
<property>
<name>php</name>
<value>true</value>
</property>
<property>
<name>php_handler_type</name>
<value>fastcgi</value>
</property>
<property>
<name>cgi</name>
<value>true</value>
</property>
<property>
<name>fastcgi</name>
<value>true</value>
</property>
</add>
</subdomain>
Also, how do you set the hosting type for the subdomain?! I don't see this in the docs.
Thanks.