Commerce hostnames
When you deploy Sitecore Experience Commerce software, the installation scripts uses the CommerceServicesHostPostfix parameter value as the root domain name to append to Commerce service hostnames. The default CommerceServicesHostPostfix parameter value is sc9.qa. As a result, the default Commerce service hostnames in a Commerce deployment are as follows:
-
commerceauthoring.sc9.qa -
commerceops.sc9.qa -
commerceshops.sc9.qa -
commerceminions.sc9.qa -
bizfx.sc9.qa
In a Sitecore XC deployment, all five Commerce services are configured as sub-domains of the sc9.qa domain by default.
The CommerceServicesHostPostfix parameter value that you specify during the installation process is stored in the Commerce Engine config.json file (for example, c:\inetpub\wwwroot\<CommerceAuthoring_SC9>\wwwroot\config.json). It is used to set anti-forgery cookies for the specified domain (for example "sc9.qa") so that the domain can be accessed on the site.
Validation rules
A valid host name is composed of a top domain level (TDL), and a domain name (second level), for example sc9.qa. The Commerce Engine performs validation on the provided CommerceServicesHostPostfix value. Consider the following rules when defining the CommerceServicesHostPostfix:
-
The top domain level (TDL):
-
must be 2-7 character length.
-
can contain alphabetical characters (a-z, AZ). Numeric and special characters are not allowed in the TDL.
-
-
The domain name (second level) :
-
can contain alphanumeric characters (0-9, A-Z and a-z).
-
can contain one hyphen (-) character.
-