Deepak Sharma
New Pleskian
Hi,
I am using Plesk XML API to automate Virtual Directory creation for a subdomain xyz.mydomain.com and request packet structure is as below.
<?xml version="1.0" encoding="utf-8" ?>
<packet>
<virtdir>
<create>
<site-id>27</site-id>
<name>/vd1</name>
<properties/>
</create>
</virtdir>
</packet>
I am getting error which error code is 1015 and error description says "Virtual host does not exist"
xyz.mydomain.com has dedicated IP assigned.
I tried with adding an entry in \etc\hosts file that map the IP address to above host name. No luck.
Any help is much appreciated.
I am using Plesk XML API to automate Virtual Directory creation for a subdomain xyz.mydomain.com and request packet structure is as below.
<?xml version="1.0" encoding="utf-8" ?>
<packet>
<virtdir>
<create>
<site-id>27</site-id>
<name>/vd1</name>
<properties/>
</create>
</virtdir>
</packet>
I am getting error which error code is 1015 and error description says "Virtual host does not exist"
xyz.mydomain.com has dedicated IP assigned.
I tried with adding an entry in \etc\hosts file that map the IP address to above host name. No luck.
Any help is much appreciated.