> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/system-settings/custom-domain/directadmin-dns.md).

# DirectAdmin DNS

### Prerequisites

Before configuring a custom domain in DirectAdmin, make sure that:

* You have a registered domain (Registro.br, GoDaddy, HostGator, etc.)
* You have access to the panel **DirectAdmin**
* You have an active hosting plan
* You have access to edit the **DNS** of the domain

***

### Step 1 – Access DirectAdmin

1. Access the DirectAdmin panel using the link provided by your hosting provider
2. Log in with username and password

***

### Step 2 – Add the domain in DirectAdmin

1. In the main menu, click on **Account Management** or **Account Manager**
2. Select **Domain Setup** (Domain Setup)
3. Click on **Add New Domain** (Add New Domain)
4. Enter the domain name (e.g.: `yourdomain.com.br`)
5. Click on **Create** or **Save**

After this step, DirectAdmin will automatically create the domain structure on the server.

***

### Step 3 – Configure the domain's DNS

After adding the domain in DirectAdmin, it is necessary to point the DNS correctly.

#### Pointing via DNS records

Configure manually:

* **Name:** enter a name for your subdomain. E.g.: <sup><kbd>lp.yourdomain.com.br<kbd></sup> | <sup><kbd>page.yourdomain.com.br<kbd></sup>
* **CNAME record:** pointing to <kbd>sh.sprinthub.page</kbd> or <kbd>sh2.sprinthub.page</kbd>

⚠️ Important: DNS propagation may take up to **24 hours**.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Flwer7vrpGJPZCLHgbGGd%2Ftelaincial.png?alt=media&amp;token=bbf814eb-b22a-4f67-9d56-fba284446717" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fvw9cmQxh9Q115NWY0lS3%2Ftela2.png?alt=media&amp;token=8a76b351-5e2f-4e31-9b5f-f62e46c58806" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FFyfmIso8DJUvZLePgr3W%2Ftela3.png?alt=media&amp;token=14fd5795-a289-4e13-b428-bd4be17a99c0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FMC5LtozWt10AGgEaFzjJ%2Fimage.png?alt=media&amp;token=0e600ab5-fba4-49a5-ac4d-e9012cf93f43" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FwxMWufivOmNY6vQblOb2%2Ftela5.png?alt=media&amp;token=f04c3b6d-51ed-4754-8266-6353451c5482" alt=""><figcaption></figcaption></figure>

***

### Configuring in SprintHub

**Step 1: Accessing the Custom Domain Settings**

In the SprintHub system settings panel, go to the section **Custom Domain**. Click **Add domain** to start the configuration process.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FuxDLpTsYbfrCHQuOVvNZ%2Fimage.png?alt=media&amp;token=78273ce7-8142-4207-b1d6-1782fbeaafd5" alt=""><figcaption></figcaption></figure>

**Step 2: Configuring the New Domain**

In the window that opens, enter the domain you want to customize (e.g., pages.yourdomain.com.br). The next step is to choose the validation method. The default and recommended method is **DNS**.

In the **Domain**, you will need to enter your domain address, and a CNAME record will be generated for **sh.sprinthub.site**.

After adding the domain, it will be necessary to validate it. The process involves adding a CNAME record in your domain’s DNS settings, pointing to the address provided.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F4cYdi52rSkKx0qQUOsNP%2Fimage.png?alt=media&amp;token=dc35b1a4-31d9-4d1f-87e7-cb27fed47ba8" alt=""><figcaption></figcaption></figure>

**Instructions for adding the CNAME:**

1. Access your domain’s DNS settings.
2. Create a new CNAME record.
3. In the **Label / Host**, enter the provided value.
4. In the **Destination / Target**, enter the target value also provided by SprintHub.

**Step 4: Saving the Settings**

After filling in the fields with the correct values, save the settings in your DNS manager. Changes to CNAME records can take up to 72 hours to propagate and be validated. However, the process is usually faster.
