Softaculous


Topic : Sub Domain Script Installation Service


Posted By: waqasnu on July 17, 2014, 10:09 pm
I want to offer script installation service on sub domains of my main domain.

So here is the scenario


Visitor come to my site example.com, he click sign up or pay, after payment, my choosen script should be automatically installed on sub domain like client1.example.com and client should receive its login.

Make sure i am not going to give any control panel or ftp access to him. He will receive just its admin login details.

Is that possible using any of your product.

For now i am looking to offer zurmo installation

thanks

Posted By: Brijesh on July 18, 2014, 7:35 am | Post: 1
Hi,

Which billing software are you using ? You can use the following Auto Install API to install a script :
http://www.softaculous.com/docs/Auto_Install_API

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: waqasnu on July 18, 2014, 9:57 am | Post: 2
Billing software is WHMCS


Will that procedure work for sub domain also?

thanks

Posted By: Brijesh on July 18, 2014, 11:50 am | Post: 3
Hi,

Yes that will work. However when you call the Softaculous hook the sub-domain should already exist. You can use any other hook or use the cPanel API to add a sub-domain.

Please use the cPanel login details of your cPanel account in the following URL and the installation will be made to that cPanel user :
PHP Code

 $new->login 'https://user:password@domain.com:2083/frontend/x3/softaculous/index.live.php'



and for the softdomain variable fill in the sub-domain :
PHP Code

 $new->data['softdomain'] = 'domain.com'



-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.