Creating aliases and subdomains on hosting

Aliases


An alias (alternative domain name) is an alternative domain. For example, you can create an alias ник.рф for the domain nic.ru. One website will be shown for both domains.

You can create an alias in the control panel under Sites (Сайт) — Your_site — Settings (Настройки)— Aliases (Синонимы). On this page, click the Create new alias (Создать новый синоним) button and enter the alias name. The added domain must be pointed to the hosting.

If you add a subdomain as an alias, it will become available within 2–4 hours.

You can configure redirection from an alias to the main domain using .htaccess.
 

Subdomains


A subdomain (third-level domain) is a domain that is part of a higher-level domain. For example, you can create subdomains for nic.ru: www.nic.ru, info.nic.ru, etc.

If a separate CMS system will be used on the subdomain, create it as a separate site in the hosting control panel:

  1. Go to the Sites (Сайты) section.
  2. Click Create Site (Создать сайт), enter the subdomain name (e.g., subdomain.domain.com), click Continue, then follow the setup wizard instructions.

Files for the subdomain subdomain.domain.com should be placed in the ~/subdomain.domain.com/docs directory on the hosting.

If the subdomain should act as an alias for one of the existing sites, then:

  1. Go to Sites (Сайты)— Your_site — Settings (Настройки)— Aliases (Синонимы) in the hosting control panel.
  2. On this page, click the Create new alias (Создать новый синоним) button and enter the alias name.

In this case, the subdomain will show the same content as the main site. This option can be used when setting up multisite configurations at the CMS level.

After the DNS servers update (1–3 hours), the subdomain will become accessible on the internet.
 

Всё ещё остались вопросы?