7.2 Definition of Domains
Prev | Chapter 7 Domain and its settings | Next

## 7.2 Definition of Domains

Creating domains in Kerio MailServer is simple:

1. Click on Add in Configuration → Domains.

2. This opens the Domain dialog; on the General tab, enter the domain name and description (description is not obligatory but it is recommended in case you would create multiple domains).

3. Recommendation for ISP: On the General tab, set a limit for number of users in the domain to prevent problems with underlicensing, i.e. situation where number of licenses is lower than number of users, (see figure 7.3 Domain settings — basic parameters) in case that you use the web administration of the domain (to read more on this issue, refer to chapter 32 KMS Web Administration).

   Figure 7.3. Domain settings — basic parameters

### 7.2.1 Primary Domain

In addition to definition of a name, each domain can be set as primary or secondary. Only one domain can be set as primary, as the other ones are set as secondary automatically.

In Kerio MailServer, one domain is always set as Local (primary). By default, this is the first domain created. When further domains are added, any of the domains can be set as primary. Users log into the primary domain with their usernames only, whereas they have to log into all other domains using their full email addresses. This is again best shown on an example:

The domain `company.com` has been set as the primary domain. A user is defined in both domains with the name `user`. The user will log into the domain `company.com` with the name `user`, whereas for the second domain the user will have to use `user@anothercompany.com` as a username.

Note: Users in the primary domain can also authenticate to the server using their complete email address.

This implies that unless a serious reason to set a particular domain as primary occurs, a domain which includes the highest number of users should be set as primary. That will make it simpler for as many users as possible to specify their usernames when connecting to the server.

#### Setting a domain as primary

Primary domain can be changed as follows:

1. In the administration interface, go to Configuration → Domains.

2. Use the cursor to select a domain which you want to set as primary.

3. Click on the Set as primary button in the lower right corner.

Prev | Up | Next
7.1 Initial settings | Contents | 7.3 Footer settings