Every site runs on specified domain names (opens in a new tab). The domain names determine where visitors can find the live site, and where editors or other users access the administration interface.
Sites have the following basic properties related to domain names:
Presentation URL format | Administration domain name format |
|---|---|
Enter the full URL of your live site application's website root. The presentation URL value must include the URL scheme (protocol). If the site is hosted in a virtual directory, include it in the URL path component. For example:
| Enter the domain name without the URL scheme (protocol) and www prefix. Administration domains automatically cover all URL schemes and www prefix combinations. Include the port number if it is different than 80. May optionally contain a URL path component. Correct:
Incorrect:
|
On Xperience instances with multiple sites, the domain name and Presentation URL values must be unique for every running site. A single site's Presentation URL and Administration domain name can share the same basic domain name, but the values cannot be completely identical (for example, the difference can be in the URL path component).
Note: You need to have a valid license for the domains in both the Presentation URL and the Administration domain name.
To set the domain names for an Xperience website:
When running or debugging your administration application and website locally during development (for example using the built-in web server in Visual Studio), you need to use the domain names assigned to your site in Kentico Xperience.
Domain aliases are alternative domain names that lead to the same website. You can add any number of domain aliases for each site, both for the live site (Presentation URL) and the administration. Aliases can be particularly useful when building multilingual websites.
For example, if your website runs on mycompany.com as its main domain and you wish to make the same site available under the my-company.co.uk domain, you need to create a domain alias.
Note: You need to have a valid license for every domain alias. Domain alias licenses are free of charge if you already own a license for the main domains.
To create a domain alias for your website:
The Live site sub-tab allows you to add domain aliases for the live site:
Click New live site alias.
Type the alternative presentation URL into the Presentation URL field.
(Optional) For multilingual sites, select a Visitor culture.
Click Save.
Your live site is now available under the URL specified in the alias (in addition to the main presentation URL and any other live site aliases).
The Administration sub-tab allows you to add domain aliases for the administration interface and specify their preview presentation URLs.
Administration domain aliases let you specify under which domain names the Xperience administration interface is accessible. For each administration domain alias you can also specify a Preview presentation URL, which is then used when previewing live site content within the scope of the administration interface. For example, when displaying website content in the preview mode or in the page builder, the displayed content is sourced from this URL.
For example, preview presentation URLs can be useful when preparing the environment for content staging. During development, you may want to allow editors to edit a particular instance of your site (e.g., a testing instance) only via a specific administration domain alias. On the live (production) version, you can then use the main Administration domain name(specified on the General tab) only with the main Presentation URL.
Click New administration alias.
Type the alternative administration domain name into the Administration domain name field.
(Optional) Enter a Preview presentation URL.
On multilingual sites and with the Preview presentation URLspecified, select a Visitor culture.
Click Save.
The administration interface for the given site can now be accessed under the specified domain alias.