InstallationInstall Sana Commerce Webshop on Web and Database Server

Install Sana Commerce Webshop on Web and Database Server

Configure Domains

Now you have to specify on which domains the website will be running. This can be done in the 'WebsiteDomains' table. Open this table in the 'SQL Management Studio' and add records for all domains on which the website should run: 

 
The 'WebsiteDomains' Table 

This is done by creating a record in the 'WebsiteDomains' table: enter the website ID in the 'WebsiteId' column (it is taken from the 'Id' column in the 'Websites' table) and the domain name in the 'Domain' column. To configure the default website domain set the 'True' value in the 'IsDefault' column.

There is no need to add port numbers here, since Sana Commerce only checks the domain name and the virtual directory and not the port number. As stated earlier, it is also possible to run a Sana Commerce web application on a virtual directory: you just enter the domain name\virtual directory.

There are system names which cannot be used in a virtual directory name. For example: shop, profile, checkout.
If you create a virtual directory in IIS, do not use system names in the virtual directory names. Otherwise, this will cause problems with running the frontend.

In order to add an additional web domain or a website, please read this section.