Previous Topic

Next Topic

Locate topic in Contents

Manual Store Installation on Remote Server

In case of remote installation, store works as a client and Parallels Business Automation - Standard Management Node works as server.

For store to work remotely, the Management Node URL, store http root path, and either a vendor account login/password or (for Parallels Business Automation - Standard version no lower than 3.3.2) vendor Secure Key must be specified in the store configuration file.

If you use a remote store installation, you can customize the original store files, because in this case, store is independent from Parallels Business Automation - Standard and its files are not affected by any of Parallels Business Automation - Standard upgrades.

Note: For remote Store installation the File Manager available in Provider (or Reseller) Control Center does not affect Store and can be used for uploading static content to vendor's site.

If a remote store installation is allowed for reseller, then reseller can customize all store files.

To install store on a remote server:

  1. At the sever that runs Parallels Business Automation - Standard (i.e., your Management Node), edit the /etc/hspcd/conf/hspc_ssl.conf file:

    Change Allow from none

    Into Allow from store_hostname|store_ip

    where store_hostname|store_ip must be replaced with either your store hostname, or store IP address, or both store hostname and IP in one string divided with space.

    Save the changes to hspc_ssl.conf file.

    Restart httpd.

  2. Copy all the store files, saving the directories structure, to a computer you are planing to use for your store. The files must be copied into a web server document root directory or into some directory located under a web server document root.
  3. Adjust the settings.ini file (in this example, the path to this file is specified starting from the store root directory hspc-frontend/)

    includes/settings.ini

    1. Adjust the Parallels Business Automation - Standard server (i.e., Management Node) URL:

      HSPCOMPLETE_SERVER = https://store_server_hostname

      where store_server_hostname must be replaced with hostname of the server where store files are copied. Do not forget that secure connection (https) must be used.

    2. Set the http root for your store installation. The http root is set via the HTTP_ROOT parameter. The store http root is a relative path to the store installation starting from the web server document root. Default is /hspc/ and it works for store default local installation. For store remote installation, HTTP_ROOT MUST BE REDEFINED according to an actual store files location. This is very important for correct work of store payment page in case of redirect payment, to correctly redirect a customer back to store after entering payment data at a payment gateway secure page.

      For example, if you have copied store files directly into web server document root then specify:

      HTTP_ROOT= /

      If you have copied store files into some directory under web server document root, for example, into var/www/html/store directory, then specify:

      HTTP_ROOT= /store/

    3. Discomment and set your account administrator e-mail you use to log in to Parallels Business Automation - Standard Provider Control Center or, if a remote installation is configured for reseller, specify the reseller administrator e-mail:

      VENDOR_EMAIL = e-mail

      where e-mail must be replaced with an actual e-mail address.

    4. Discomment and set the account administrator password used to log in to the Parallels Business Automation - Standard Provider Control Center or if a remote installation is configured for reseller, specify the reseller administrator password:

      VENDOR_PASSWORD = password

      where password must be replaced with an actual password.

    5. Attention! For the product version no older than 3.3.2: Vendor authorization by secure key is implemented. If the product version is 3.3.2 or newer, your store (even if store is of a previous version) can be configured for keys authorization; in this case some additional code adjustment is needed, and we recommend you to contact support on this issue.

      Important: If you use secure key for authorization and thus, you specify the secure key in the store configuration file, then DO NOT SET login/password, comment these strings.

      If both Parallels Business Automation - Standard and store version is 3.3.2 or newer, you can specify the key generated for your store hostname using the tools provided in PCC > Commerce Director > Store Manager > Configure Store > Security Settings. To specify the key, discomment and set:

      SECURE_KEY = your_key

      where your_key must be replaced with an actual key.

  4. Save the changes you have made to the settings.ini file.

Please send us your feedback on this help page