> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qoder.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Domains Verification

> This guide explains the functionality of domain verification and how to configure it. 

<Info>
  Applicable plans: Teams, Enterprise
</Info>

By verifying ownership of your company's email domain, you ensure that only users with an email address at that domain can join your organization.

Once domain verification is enabled, all users invited via link and those signing in through SSO are subject to domain restrictions. Users with email addresses that do not match a verified domain will be denied access to the organization.

### **Add a Domain**

1. As an organization administrator, navigate to **Organization Settings** > **Email Domains**.
2. Click **Add Domain**.
3. Enter your company's email domain (e.g., `company.com`, without the `@` symbol).
4. Click **Add**.

<Info>
  Only add domains that your organization owns and controls. Do not add public domains such as `gmail.com`.
</Info>

<img src="https://mintcdn.com/qoder/nVTofMdrAHbRY3l4/images/domain-2.jpg?fit=max&auto=format&n=nVTofMdrAHbRY3l4&q=85&s=a7752e5f9b58e8eeaf3000a1bc6fa4f9" alt="image" width="2550" height="1316" data-path="images/domain-2.jpg" />

### **Add DNS TXT Record**

Navigate to your domain's DNS management console and configure the following DNS TXT record:

| **Field**     | **Value**                                | **Example**               |
| :------------ | :--------------------------------------- | :------------------------ |
| **Type**      | TXT                                      | TXT                       |
| **Host/Name** | Your domain (or `@` for the root domain) | `company.com` 或 `@`       |
| **Value**     | The verification token provided by Qoder | `a1b2c3d4e5f6g7h8i9j0...` |
| **TTL**       | 600 (or use the default value)           | 600                       |

After you click "Add Domain", the verification token value will be displayed in a pop-up window. Simply copy and paste it to your DNS server's management console.

<img src="https://mintcdn.com/qoder/Fr0dO94NtHGFKlbv/images/domain1.jpg?fit=max&auto=format&n=Fr0dO94NtHGFKlbv&q=85&s=5f65697a510b1d4dd5c42aa8e7239000" alt="image" width="713" height="699" data-path="images/domain1.jpg" />

### **Verify the Domain**

Once the DNS record has propagated, return to the Domain Management page in Qoder and click the **Verify** button to initiate the verification.

* If the verification is successful, the domain's status will change to **Verified**, and it will be enabled immediately.
* If the verification fails, the domain's status will change to **Verification Failed**. You can then review your configuration and try verifying again.

### **Delete a Domain**

Administrators can remove a domain from the Domain Management list. During this process, a check is performed: if SSO is currently enabled, at least one valid, verified domain **must be retained**.
