---
title: "How do I set up my subdomain with my hosting provider for Sarbacane Campaigns?"
description: "Add the TXT record and the two NS records to your domain's DNS zone, with the OVH example and the list of compatible hosting providers."
url: https://help.sarbacane.com/en/articles/177-how-do-i-set-up-my-subdomain-with-my-hosting-provider-for-sarbacane-campaigns
collection: "Settings"
updated: 2026-11-02
language: en
alternates: [fr, es]
---

# How do I set up my subdomain with my hosting provider for Sarbacane Campaigns?

Add the TXT record and the two NS records to your domain's DNS zone, with the OVH example and the list of compatible hosting providers.

For Sarbacane Campaigns to validate your sending subdomain, add three records to your domain's DNS zone at your hosting provider: one TXT record on the root domain and two NS records on the subdomain. The example below uses OVH, and other hosting providers work the same way.

## Prerequisites

-   You have created the subdomain in Sarbacane Campaigns and have the **Configuration of your domain by delegation** window open, which shows the values to copy (see [How do I set up a sending subdomain in Sarbacane Campaigns?](https://help.sarbacane.com/en/articles/176.md)).
    
-   You have access to your domain's DNS zone at your hosting provider, or help from your IT department or webmaster.
    
-   Your hosting provider accepts NS records on a subdomain (see Troubleshooting).
    

![Existing domain option in Sarbacane Campaigns](https://staticfiles.gleap.io/helpcenter/683050d8834924b5aeaea8b7/20260325205804_6336.png)

**Important**: add these records within 48 hours of creating the subdomain in Sarbacane. After that, the subdomain is not validated and you must delete it and create it again.

## Steps (example with OVH)

1.  In your hosting provider's customer area, open the DNS zone of your domain (for example your-site.com).
    
2.  Click the button to add an entry, then choose the **TXT** type.
    

![Adding an entry in the OVH DNS zone](https://staticfiles.gleap.io/helpcenter/683050d8834924b5aeaea8b7/20260325205804_4952.png)

3.  Leave the **Sub-domain** field empty: the TXT record applies to the root domain (your-site.com), not to the subdomain.
    

![TXT entry on the root domain](https://staticfiles.gleap.io/helpcenter/683050d8834924b5aeaea8b7/20260325205804_8474.png)

4.  In the **Value** field, paste the TXT value shown in Sarbacane (the string of characters ending with the = sign), then confirm.
    

![TXT value pasted](https://staticfiles.gleap.io/helpcenter/683050d8834924b5aeaea8b7/20260325205804_7943.png)![Confirming the TXT entry](https://staticfiles.gleap.io/helpcenter/683050d8834924b5aeaea8b7/20260325205804_6061.png)

5.  Add a new entry of type **NS**.
    
6.  In the **Sub-domain** field, enter the part before your domain (for example news for news.your-site.com).
    
7.  In the **Target** field, enter dns.customizedurl.com., then confirm.
    

![NS entry on the subdomain](https://staticfiles.gleap.io/helpcenter/683050d8834924b5aeaea8b7/20260325205804_2554.png)

8.  Add a second **NS** entry on the same subdomain, with the target dns2.customizedurl.com., then confirm.
    

**Note**: enter both NS targets with the final dot, otherwise the delegation does not work.

## Expected result

In Sarbacane Campaigns, on the Domains page, the subdomain changes from **Awaiting validation...** to **Activated**. Allow 24 to 48 hours depending on your hosting provider.

## Troubleshooting

### My hosting provider does not accept NS records

Some hosting providers do not allow NS records on a subdomain. In that case, write to technical support at aide@sarbacane.com.

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Hosting provider</p></th><th colspan="1" rowspan="1"><p>Delegation possible</p></th></tr><tr><td colspan="1" rowspan="1"><p><a target="_blank" rel="noopener noreferrer nofollow" class="linktype-link link" data-linktype="link" href="https://help.ovhcloud.com/csm/fr-dns-zone-general-information?id=kb_article_view&amp;sysparm_article=KB0063450">OVH</a></p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><a target="_blank" rel="noopener noreferrer nofollow" class="linktype-link link" data-linktype="link" href="https://docs.gandi.net/fr/noms_domaine/operations_courantes/enregistrements_dns.html">Gandi</a></p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><a target="_blank" rel="noopener noreferrer nofollow" class="linktype-link link" data-linktype="link" href="https://www.ionos.fr/assistance/domaines/utiliser-ses-propres-serveurs-de-noms/ajouter-modifier-ou-supprimer-un-enregistrement-ns-pour-un-sous-domaine/">Ionos</a></p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><a target="_blank" rel="noopener noreferrer nofollow" class="linktype-link link" data-linktype="link" href="https://www.infomaniak.com/fr/support/faq/2000/modifier-la-zone-dns-mode-simple-dun-domaine-gere-par-infomaniak">Infomaniak</a></p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><a target="_blank" rel="noopener noreferrer nofollow" class="linktype-link link" data-linktype="link" href="https://assistance.nordnet.com/kb/index.php?View=entry&amp;EntryID=268">Nordnet</a></p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p><a target="_blank" rel="noopener noreferrer nofollow" class="linktype-link link" data-linktype="link" href="https://www.godaddy.com/fr/help/gerer-les-enregistrements-dns-680">GoDaddy</a></p></td><td colspan="1" rowspan="1"><p>Yes</p></td></tr><tr><td colspan="1" rowspan="1"><p>Wix</p></td><td colspan="1" rowspan="1"><p>No</p></td></tr><tr><td colspan="1" rowspan="1"><p>Hostinger</p></td><td colspan="1" rowspan="1"><p>No</p></td></tr><tr><td colspan="1" rowspan="1"><p>O2switch</p></td><td colspan="1" rowspan="1"><p>No</p></td></tr><tr><td colspan="1" rowspan="1"><p>Planethoster</p></td><td colspan="1" rowspan="1"><p>No</p></td></tr><tr><td colspan="1" rowspan="1"><p>Microsoft</p></td><td colspan="1" rowspan="1"><p>No</p></td></tr></tbody></table>

### My subdomain stays in the Invalid state

Check that the TXT record is on the root domain and that both NS targets end with a dot. Then follow the checks in the article [Why does my subdomain remain in "Invalid" status?](https://help.sarbacane.com/en/articles/179.md).

### I cannot find where to add a DNS record

See your hosting provider's help (links in the table above) or ask your IT department.

## Related articles

-   [How do I set up a sending subdomain in Sarbacane Campaigns?](https://help.sarbacane.com/en/articles/176.md)
    
-   [Why does my subdomain remain in "Invalid" status?](https://help.sarbacane.com/en/articles/179.md)
