Softaculous Remote
Overview
There are three possible ways to login into Softaculous Remote :
1. Using Softaculous Remote's Default Login.
2. Using Custom Login Page.
3. Remote API
Default Login
- Access your server through browser <your-server-ip> or <your-domain>.com
- Enter the API KEY and API PASS provided by the Installer or your host to login into Softaculous Remote.
Custom Login
- You can create a custom login page by creating a new page locating at /usr/local/softaculous/enduser/login.php
- Softaculous Remote requires global $PRE_LOGIN as array which includes :
- $PRE_LOGIN['username'] = 'test'; // User Name of the user logging in
- $PRE_LOGIN['email'] = 'a@sa.com'; // Email of the User
- $PRE_LOGIN['domains'][0]['domain'] = 'domain.com'; // Default Domain Name
- $PRE_LOGIN['domains'][0]['ftp_user'] = 'user'; // Correct FTP User with the access of the domain.
- $PRE_LOGIN['domains'][0]['ftp_pass'] = 'password'; // Correct FTP User's Password
- $PRE_LOGIN['domains'][0]['ftp_path'] = '/public_html'; // FTP PATH
- $PRE_LOGIN['domains'][0]['path'] = '/home/soft/public_html'; // Exact path of the web directory
- $PRE_LOGIN['domains'][0]['backup_dir'] = '/backups'; // (Optional) Backup Dir
- Example file can be seen below :
<?php $PRE_LOGIN['username'] = 'test'; $PRE_LOGIN['email'] = 'a@sa.com'; $PRE_LOGIN['domains'][0]['domain'] = 'domain.com'; $PRE_LOGIN['domains'][0]['ftp_user'] = 'user'; $PRE_LOGIN['domains'][0]['ftp_pass'] = 'password'; $PRE_LOGIN['domains'][0]['ftp_path'] = '/phublic_html'; $PRE_LOGIN['domains'][0]['path'] = '/home/soft/phublic_html'; $PRE_LOGIN['domains'][0]['backup_dir'] = '/backups'; ?>
Remote API
- Refer Remote API for installing, removing and upgrading installations in Softaculous Remote without using the interface.