1. Home
  2. Technical
  3. What is a subdomain and how to add it?

What is a subdomain and how to add it?

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.

Attention!

If the nameservers in the main domain are pointed elsewhere, i.e. using name servers from another provider, then an A record should be created for the subdomain at that provider. The IP address of the A-record can be found in the Webhosting menu on the left, by choosing Webhosting, System Information and IP Address

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.

Updated on 12. Jul 2024

Was this article helpful?

Related Articles