RESOLUTION
Currently it is possible to use this feature with remote HSPcomplete Store only. You may check this article in HSPcomplete SDK for detailed information on remote store configuration.
As soon as remote store is configured to make it accessible via several domains/hostnames you may use the following additional steps:
- set up apache to handle multiple domain names with adding the following section into httpd.conf configuration file (usually it is located under /etc/httpd/conf/ directory):
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin root@localhost
DocumentRoot /var/www/html
ErrorLog logs/error_log
CustomLog logs/access_log common
</VirtualHost> - reload Apache webserver configuration to apply changes, usually it could be performed with the following command on remote store server:
# /etc/init.d/httpd reload - set up DNS for every domain to point to IP-address assigned to remote server.
- configure Store authorization in HSPcomplete system, there are several ways possible here:
- Configure store to authenticate by secure key
or - Configure store to authenticate by email/password. This is the simplest way. Edit "/var/www/html/includes/settings.ini" with setting the following parameters:
HSPCOMPLETE_SERVER = https://hspc_mn_address
VENDOR_EMAIL = some@email
VENDOR_PASSWORD = some_password
All done. Store will work on every domain you set up.
- Configure store to authenticate by secure key
Keywords: store