• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Richard Markink

New Pleskian
Hello,

I am trying to add a domain by making use of the plesk xml api. I am running plesk 12.5.30.

When i use the php script that i found on the plesk github to execure a request on the same server as where the request is send to i get the following error in plesk:

New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: Empty content was provided for config file /var/www/vhosts/system/test.bhvaed.nl/conf/httpd.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.

i used the following request:
Code:
<packet version="1.6.7.0">
<site>
<add>
   <gen_setup>
        <name>test.bhvaed.nl</name>
        <webspace-id>1</webspace-id>
   </gen_setup>
   <hosting>
        <vrt_hst>
            <property>
                <name>www_root</name>
                <value>/elearning.coursenet.nl</value>
            </property>
        </vrt_hst>
   </hosting>
</add>
</site>
</packet>

it will result in a 503 error on the page i run this script.
When i run the same script on a other server of with curl tool there is no problem at all.

What can cause this problem ?
 
Back
Top