# 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 via 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 Configuration)
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 DNS

After adding the domain in DirectAdmin, you need to point the DNS correctly.

#### Pointing via DNS records

Manually configure:

* **Name:** enter a name for your subdomain. Ex.: <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 can 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&#x26;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&#x26;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&#x26;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&#x26;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&#x26;token=f04c3b6d-51ed-4754-8266-6353451c5482" alt=""><figcaption></figcaption></figure>

***

### Configuring in SprintHub

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

In the SprintHub system settings panel, go to the **Custom Domain**. Click on **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&#x26;token=78273ce7-8142-4207-b1d6-1782fbeaafd5" alt=""><figcaption></figcaption></figure>

**Step 2: Configuring the New Domain**

In the window that will open, 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**field, you will need to enter your domain address, and a CNAME pointing to **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 provided address.

<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&#x26;token=dc35b1a4-31d9-4d1f-87e7-cb27fed47ba8" alt=""><figcaption></figcaption></figure>

**Instructions to add the CNAME:**

1. Access your domain's DNS settings.
2. Create a new CNAME record.
3. In the **Record / Host**, enter the provided value.
4. In the **Destination / Target**, also enter the destination value 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.
