TABLE OF CONTENTS
Binding Webstore URLs With IIS
Steps to bind multiple URLs with a single store
IIS Level Configuration Steps
Step 1: Go to the hosted site in the IIS Manager.
Step 2: Right-click on the hosted site and select the 'Edit Bindings' option.
Step 3: Now click on add.
Step 4: Select the type of protocol HTTP or HTTPS.
Step 5: Now add the hostname that is the webstore URL.
Step 6: If the type of protocol is https then select the SSL certificate else leave it.
Step 7: Click on Ok and Close the pop-up.
Step 8: Below is an example of multiple webstore URLs binding.
Znode Level Configuration Steps:
Execute the below query for a new entry into the ZnodeDomain table for the new store.
Query:-
INSERT INTO ZnodeDomain (PortalId,DomainName,IsActive,ApiKey,ApplicationType,CreatedBy,CreatedDate,ModifiedBy,ModifiedDate,IsDefault)
VALUES (PortalId, ‘DomainName’, IsActive, ‘ApiKey’, 'ApplicationType', CreatedBy, GETDATE(), ModifiedBy, GETDATE(), IsDefault)
PortalId: Mentioned the portal id value.
DomainName: url of the webstore without http/https.
IsActive: Pass the value 1 for IsActive.
ApiKey: Mention the value of the ApiKey.
ApplicationType: Pass the ApplicationType as a 'WebStore'.
CreatedBy: Pass the value 2 in place of CreatedBy.
CreatedDate: Pass the GETDATE() function to get the current date and time.
ModifiedBy: Pass the value 2 in place of ModifiedBy.
ModifiedDate: Pass the GETDATE() function to get the current date and time.
IsDefault: Pass the value 1 if this is a default store or pass 0 instead.
Example:
Below is an example of a Query to insert the webstore entry into the ZnodeDomain table.
INSERT INTO ZnodeDomain (PortalId,DomainName,IsActive,ApiKey,ApplicationType,CreatedBy,CreatedDate,ModifiedBy,ModifiedDate,IsDefault)
VALUES (8, 'nutwholesalertest-2.local.com', 1, 'c58cc0c0-1349-4001-8416-cf1cea7960e8', 'WebStore', 2, GETDATE(), 2, GETDATE(), 1)