Create an OVHcloud DNS zone for a subdomain

Objective

Would you like to create a DNS zone for a subdomain?

The DNS (Domain Name System) zone is a domain name’s configuration file. It consists of technical information, called DNS records. The DNS zone acts as a routing center.

For more information, please refer to our guides:

Most often, the DNS records of a subdomain are configured directly from the active DNS zone of the domain name it depends on. However, it is also possible to create a DNS zone specific to a subdomain.

For various reasons, you may need to create a DNS zone for a subdomain with OVHcloud. The subdomain will then have its own zone to configure its DNS records.

Tip

To recap:

  • A domain name usually has the form domain.tld. For example: ovhcloud.com.
  • A subdomain usually has the form sub.domain.tld. For example: help.ovhcloud.com.

By default, a subdomain depends on a domain name to function. In practice, you will not be able to use the subdomain sub.domain.tld if you do not have access to the management of the domain name domain.tld.

If you want to create a DNS zone for a domain name, please refer directly to this guide.

Find out how to create a DNS zone with OVHcloud for a subdomain of a domain name via your OVHcloud Control Panel.

Requirements

  • You can administrate the domain name on which the chosen subdomain will depend.
  • The concerned subdomain must not already have an active or inactive DNS zone with OVHcloud or be the subject of an ongoing operation or order with OVHcloud.

OVHcloud Control Panel Access

  • Direct link: DNS zones
  • Navigation path: Web Cloud > DNS zones > Select your domain name

Instructions

1 - Create the DNS zone via the OVHcloud Control Panel

Click on the tabs below to view each of the 3 steps.

Step 1
Step 2
Step 3

Go to the DNS zones page, then on the Order button.

DNS zones

2 - Edit the DNS zone (optional)

Now that your subdomain’s DNS zone has been created, you can edit it. This step is optional, but it may be necessary if you want to ensure that the services associated with your subdomain remain available (e.g. your website and/or emails).

To edit this DNS zone, please read our guide on Editing a DNS zone at OVHcloud.

Info

If you have just created the DNS zone and the subdomain does not yet appear in your list of services, wait 15 to 20 minutes, then reload the page.

3 - Declare the DNS servers in the active DNS zone of the domain name on which the chosen subdomain depends

The activation of a DNS zone for a subdomain differs from that of a domain name, as a subdomain must depend on a domain name to function.

You must first retrieve the names of the DNS servers associated with the DNS zone created for your subdomain.

To find them, click on the tabs below to view each of the 2 steps.

Step 1
Step 2

Go to the DNS zones page, then choose the subdomain concerned.

DNS zones

Once the two DNS server names are retrieved, two situations are possible:

Click on one of the two situations to display the content.

The domain name on which your subdomain depends has its active DNS zone with OVHcloud

Click on the tabs below to view each of the 4 steps.

Step 1
Step 2
Step 3
Step 4

Go to the DNS zones page, then choose the subdomain concerned.

DNS zones
The domain name on which your subdomain depends has its active DNS zone with another provider

In this specific case, contact your DNS provider and specify that you want to add two DNS records of type NS for your subdomain.

Here is an example of a request to make to your DNS provider:

Hi,

I would like to add the following NS type DNS records in the active DNS zone of the domain name domain.tld for my subdomain sub.domain.tld :

  • sub IN NS nsXX.ovh.net.
  • sub IN NS dnsXX.ovh.net.

This is to activate a specific DNS zone for my subdomain sub.domain.tld.

Best regards,

In the example above, replace the values domain.tld, sub.domain.tld, nsXX.ovh.net and dnsXX.ovh.net with your own values.

Warning

The following point of attention does not concern the two DNS records of type NS that you have just added.

If other DNS records were present in the active DNS zone of the domain name on which your subdomain depends:

  1. Do not forget to duplicate them in the DNS zone created for your subdomain.
  2. Once duplicated, remove them from the active DNS zone of your domain name.

Indeed, there could be a conflict in DNS resolution.

After modifying the DNS zone of the domain name on which your subdomain depends, the propagation of the changes can take up to 48 hours.

Go further

Everything you need to know about DNS servers

Everything you need to know about DNS zone

Everything you need to know about DNS records

Editing an OVHcloud DNS zone

For specialised services (SEO, development, etc.), contact OVHcloud partners.

If you would like assistance using and configuring your OVHcloud solutions, please refer to our support offers.

Join our community of users.

Was this page helpful?