ConfigurationMultiple Domains and Websites

Multiple Domains and Websites

Sana Commerce 8.3
Your provider

Configure Multiple Domains in IIS 6

When a project has multiple sites, additional site nodes can be added under the site node. In order to do this:

Add the additional domain name in IIS:

Step 1: Open Internet Information Services (IIS) Manager.

Step 2: Locate your website and select its properties.

Step 3: On the 'Web Site' tab there is a section 'Web site identification', which is used to add additional web site identities. Click the 'Advanced' button near the field 'IP address'.

Step 4: Now you can add multiple web site identities to your website. Click the 'Add' button.

Step 5: You have to fill in three fields: the IP address of your website, the TCP port (default is '80') and a host header value, which is the additional domain name. For requesting a new domain name, please ask your system administrator:

  •  
  • Adding an Additional Domain Name in IIS 

 

Add a new record in the 'WebsiteDomains' table of the SQL database: 

Step 1: Generate GUID which should be inserted into the 'Id' column. To generate GUID type the following command in the new query and execute it:

print newid()
This command will automatically generate the GUID. You can copy and past this GUID into the 'Id' column of the 'WebsiteDomains' table.

Step 2: Enter the ID of the website for which the additional domain should be set into the 'WebsiteId' column.

Step 3: Specify the additional domain name in the 'Domain' column:

 
Adding an Additional Domain Name for the Website

Step 4: Each website must have the default domain. To configure the default website domain set the 'True' value in the 'IsDefault' column in the 'WebsiteDomains' table.

Step 5: Request a new license file for the new domain. Please read about requesting a license file here.

ConfigurationMultiple Domains and Websites