ConfigurationMultiple Domains and Websites

Multiple Domains and Websites

Configure Multiple Domains

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:
    • Open IIS.
    • Locate your website and select its properties.
    • 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'.
    • Now you can add multiple web site identities to your website. Click the 'Add' button.
    • 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 
 
If you use IIS 7 then:
  • Locate your site and select it.
  • Click 'Bindings' on the 'Actions' pane on the right side.
  • Click the 'Add' button in the 'Site Bindings' window.
The rest steps are similar to steps for IIS 6 (see earlier in this chapter).
 
 
Adding an Additional Domain Name in IIS 7 
  • Add a new record in the 'WebsiteDomains' table using the SQL Server Management Studio: enter the same 'WebsiteId' and specify the additional domain name in the 'Domain' column: 

     
    Adding an Additional Domain Name for the Website

  • 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.
  • Request a new license file for the new domain. Please read about requesting a license file here.
ConfigurationMultiple Domains and Websites