Product:
Search Type:

How do I configure HSPcomplete Store to make it accessible via several domains/aliases?

Article ID: 2185 
Last Review: Oct,10 2007
APPLIES TO:
  • HSPcomplete 3.3.x

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.
Keywords: store

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields