What is a subdomain?
A subdomain:
- Is a part of a domain that is located before the main domain, or a prefix, e.g. blogi.zone.fi or staging.zone.fi.
- Allows you to create websites that are linked to the main domain, but located at a separate address.
- Can also be used, for example, for testing the staging environment or for WordPress multisite.
Adding a subdomain
You can add a subdomain in My Zone control panel under Webhosting
by selecting Webserver
, Subdomains
and add subdomain
.
On the new page, enter the name of the subdomain, such as staging, test or shop.
By default, the subdomain name directory is added automatically, but if you want to manually add the directory, then Create subdomain directory automatically
must be deactivated.
Then click add
.
On the next page, you can configure the subdomain further according to your needs and wishes (activate WAF, change PHP version, etc.). If there is no need for special configuration, click Go back.
Subdomain activation takes about 15 minutes and the security certificate is generated automatically.
If the subdomain is planned to be used to host a separate website, which should open from another domain different from the main domain, then it is necessary to register a new domain and redirect it to this subdomain with an alias.
More information on alias redirection and aliases can be found here.