2.4.1.1.3. Aliases

If you want the site to receive requests to all subdomains, use processing requests to nonexistent subdomains instead of aliases.

By using aliases, you can make scripts from the same directory process requests to several different addresses at the same time.

Important points:

  • By default, for each added site, its alias with www is also added.
  • Only addresses that are not among the subdomains in the "My sites" section can be added to aliases. If you want to add an alias using an existing name, you will need to delete the corresponding subdomain.
  • Domains that are added to aliases must be correctly pointed to the hosting.
  • If a domain is added as an alias, which can be addressed both with and without www, both variants of the name — with and without www — should be added.
  1. Open the "Site settings" section.
  2. In the "Aliases" field, specify the address of the alias (multiple aliases can be specified comma separated or on a new line) and save your changes:
  3. Wait approximately 15-30 minutes for the changes to take effect.
Content

    (1)