I've written a php cli that will add subdomains. It does this by adding the user/subdomain directory and sub-directories/vhost.conf/copying site files/create mysql db/user etc....
But after more review (learning more) I got interested in using the subdomain.exe. This appears a way for me to add subdomains within the confines of plesk (i.e. can see the subdomains via my plesk panel).
Curious as to others experience when it comes to automating subdomain creation.
Also I think my plesk is restricted (godaddy) to x number of domains/subdomains/mysql db's.
-Is it preferable to use the plesk command line to generate the subdomains or use the php cli method?
-If I use the php cli creation method, can I bypass the restrictions in the plesk panel?
-If I use the subdomain.exe do I first need to create the directories for the subdomain in var/www/vhost/<domain>/subdomains/<new subdomain>
Thanks in advance for your review.
But after more review (learning more) I got interested in using the subdomain.exe. This appears a way for me to add subdomains within the confines of plesk (i.e. can see the subdomains via my plesk panel).
Curious as to others experience when it comes to automating subdomain creation.
Also I think my plesk is restricted (godaddy) to x number of domains/subdomains/mysql db's.
-Is it preferable to use the plesk command line to generate the subdomains or use the php cli method?
-If I use the php cli creation method, can I bypass the restrictions in the plesk panel?
-If I use the subdomain.exe do I first need to create the directories for the subdomain in var/www/vhost/<domain>/subdomains/<new subdomain>
Thanks in advance for your review.