• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

automate subdomain.sh

G

graham HAYES

Guest
Hi,
I am trying to run the following command to create a subdomain through the command line:
/usr/local/psa/bin/subdomain.sh --create "SUBDOMAIN" -domain "DOMAIN"
however i always get this error:

The file subdomain.php is part of Plesk distribution. It cannot be run outside of Plesk environment.

I am using plesk 8.6, can someone please help, i am trying to automate the creation of a subdomain, am i doing something wrong?

Thanks!
 
Back
Top