To connect your own domain to your [ad landing page](https://docs.ranksyapp.com/hc/docs/articles/ad-landing-pages), add DNS records at your DNS provider. Your DNS provider is the service where you manage the DNS of your domain. Usually, this is the company where you bought the domain.

First, add the domain in Ranksy. See [Use Your Own Domain for Ad Landing Pages](https://docs.ranksyapp.com/hc/docs/articles/custom-domain-for-landing-pages). Ranksy then shows the records in the **Custom domain** card on the **Landing Page** tab. To copy a name or a value, click the copy button next to it.

## The Records

This example uses the subdomain `lp.yourdomain.com`. Use the names and values that Ranksy shows for your domain.

| Type | Name | Value |
| --- | --- | --- |
| CNAME (required) | `lp.yourdomain.com` | `domains.ranksyapp.com` |
| TXT (**Optional**) | `_cf-custom-hostname.lp.yourdomain.com` | The value that Ranksy shows |

**CNAME record.** This record points your subdomain to Ranksy. Your domain cannot become **Live** without this record.

**TXT record.** This record is optional. It lets Ranksy confirm that you own the domain. Add it if your DNS is on Cloudflare and the CNAME is proxied (orange cloud). You can also add it at other providers. Ranksy shows this record only when it is available for your domain.

## Before You Start

- Use the subdomain only for the landing page. A CNAME record cannot share its name with other records. If the subdomain already has records, use a different subdomain. Or remove the old records first.
- Find your DNS provider. If your domain uses the nameservers of a different company, add the records at that company. To find your nameservers, see the **Check a Record Yourself** section below.

## What to Enter in the Name Field

Ranksy shows the full name, for example `lp.yourdomain.com`. Many DNS providers add your domain to the end of the name automatically. At these providers, enter only the part before your domain:

| Ranksy shows | Enter in the name field |
| --- | --- |
| `lp.yourdomain.com` | `lp` |
| `_cf-custom-hostname.lp.yourdomain.com` | `_cf-custom-hostname.lp` |

If you enter the full name at these providers, the record can get your domain two times, for example `lp.yourdomain.com.yourdomain.com`. Then Ranksy cannot find the record.

All the providers in this article want only the part before your domain.

## Cloudflare

1. Log in to the Cloudflare dashboard.
2. Select your domain.
3. Go to **DNS** > **Records**.
4. Click **Add record**.
5. In **Type**, select **CNAME**.
6. In **Name**, enter `lp`.
7. In **Target**, enter `domains.ranksyapp.com`.
8. Set **Proxy status**. **Proxied** (orange cloud) and **DNS only** both work.
9. Click **Save**.

If the CNAME is proxied (orange cloud), also add the optional TXT record:

1. Click **Add record**.
2. In **Type**, select **TXT**.
3. In **Name**, enter `_cf-custom-hostname.lp`.
4. In the value field, paste the TXT value from Ranksy.
5. Click **Save**.

**Note:** Cloudflare hides a proxied CNAME from public DNS. Until the domain is **Live**, the records table in Ranksy can show the CNAME as **Not found yet**. This is normal for a proxied CNAME. The TXT record lets Ranksy confirm your domain.

## GoDaddy

1. Log in to your GoDaddy account.
2. Go to **My Products**.
3. Open the **Domains Portfolio** tab.
4. Next to your domain, click **...**.
5. Select **Edit DNS**.
6. Click **Add New Record**.
7. In **Type**, select **CNAME**.
8. In **Name**, enter `lp`.
9. In **Value**, enter `domains.ranksyapp.com`.
10. Click **Save**.

## Namecheap

1. Log in to your Namecheap account.
2. Go to **Domain List**.
3. Next to your domain, click **Manage**.
4. Open the **Advanced DNS** tab.
5. In the **Host Records** section, click **Add New Record**.
6. Select **CNAME Record**.
7. In **Host**, enter `lp`.
8. In **Value**, enter `domains.ranksyapp.com`.
9. Click **Save All Changes**.

If the same host already has other records, remove them. Namecheap asks you to wait 30 minutes for the change.

## Amazon Route 53

1. Open the Route 53 console.
2. Select **Hosted zones**.
3. Select the hosted zone for your domain.
4. Click **Create record**.
5. In the record name field, enter `lp`. Route 53 shows your domain after the field.
6. In the record type field, select **CNAME**.
7. In **Value**, enter `domains.ranksyapp.com`.
8. Click **Create records**.

For the TXT record, put the value in quotation marks, for example `"your-txt-value"`.

## Google Cloud DNS

1. In the Google Cloud console, go to **Cloud DNS zones**.
2. Select the zone for your domain.
3. Click **Add standard**.
4. In **DNS name**, enter `lp`. Google Cloud shows your domain after the field.
5. In **Resource record type**, select **CNAME**.
6. In **Canonical name**, enter `domains.ranksyapp.com.` with the period at the end.
7. Click **Create**.

For the TXT record, put the value in quotation marks, for example `"your-txt-value"`.

## Squarespace Domains

Squarespace now manages domains that people registered with Google Domains.

1. Log in to Squarespace.
2. Open the domains dashboard.
3. Select your domain.
4. Click **DNS**.
5. Click **DNS Settings**.
6. In the **Custom Records** section, click **Add record**.
7. If Squarespace asks, enter your password or your two-factor code. Then click **Continue**.
8. In **Type**, select **CNAME**.
9. In **Name**, enter `lp`. Squarespace adds your domain automatically.
10. In **Data**, enter `domains.ranksyapp.com`.
11. Click **Save**.

## Other DNS Providers

1. Open the DNS settings of your domain.
2. Add a new record.
3. Select the type **CNAME**.
4. In the name field, enter the name. If the provider adds your domain automatically, enter only `lp`.
5. In the value or target field, enter `domains.ranksyapp.com`.
6. Save the record.

To add the optional TXT record, do the same steps. Select the type **TXT**. Enter `_cf-custom-hostname.lp` as the name. Paste the value from Ranksy.

## How Long DNS Changes Take

The time depends on your DNS provider. These are examples from the providers:

| Provider | What the provider says |
| --- | --- |
| Amazon Route 53 | Changes usually go to the Route 53 DNS servers in 60 seconds. |
| Namecheap | Wait 30 minutes after you save the change. |
| Cloudflare | DNS changes can take up to 48 hours. |

After the record is in place, Ranksy finds it automatically. To check immediately, click **Check now** on the **Custom domain** card.

## Check a Record Yourself

### Online

1. Open the [Google Admin Toolbox Dig](https://toolbox.googleapps.com/apps/dig/) tool.
2. Select **CNAME**.
3. Enter your subdomain, for example `lp.yourdomain.com`.
4. Make sure that the result shows `domains.ranksyapp.com`.

To check the TXT record, select **TXT**. Then enter `_cf-custom-hostname.lp.yourdomain.com`.

### Command Line

On macOS or Linux, use `dig`:

```bash
dig CNAME lp.yourdomain.com +short
```

The correct result is:

```text
domains.ranksyapp.com.
```

To check the TXT record:

```bash
dig TXT _cf-custom-hostname.lp.yourdomain.com +short
```

The result must show the TXT value from Ranksy.

On Windows, use `nslookup`:

```powershell
nslookup -type=CNAME lp.yourdomain.com
```

To find the nameservers of your domain:

```bash
dig NS yourdomain.com +short
```

The names of the nameservers usually show the DNS provider.

### What the Result Means

| Result of the CNAME check | What it means | What to do |
| --- | --- | --- |
| `domains.ranksyapp.com.` | The record is correct. | Wait for Ranksy, or click **Check now**. |
| A different name | The record has a different value. | Change the value to `domains.ranksyapp.com`. |
| No result | The record is not in public DNS. | Check the name of the record. Wait for the DNS change. If your DNS is on Cloudflare and the CNAME is proxied, this is normal. Check the TXT record instead. |

## Troubleshooting

**The name has your domain two times.** Check your record with the lookup tool. Use the doubled name, for example `lp.yourdomain.com.yourdomain.com`. If the lookup finds a record, delete it. Then add the record again with only `lp` in the name field.

**Ranksy shows "Points to" a different name.** The CNAME record has a different value. Change the value to `domains.ranksyapp.com`.

**Your DNS provider does not let you add the CNAME record.** The subdomain has other records. Remove the other records, or use a different subdomain.

**Your DNS is on Cloudflare, and the status stays at Waiting for DNS.** If your CNAME is proxied (orange cloud), add the optional TXT record. A CNAME that is set to **DNS only** also works.

**The records are correct, but the status does not change.** Click **Check now**. If the status is **Needs attention**, correct the records. Then click **Check now** again. If the status still does not change, contact support.

## Next steps

- [Use Your Own Domain for Ad Landing Pages](https://docs.ranksyapp.com/hc/docs/articles/custom-domain-for-landing-pages) — See the domain status and what changes when the domain is **Live**.
- [Verify Your Domain with Meta](https://docs.ranksyapp.com/hc/docs/articles/verify-domain-with-meta) — Add a TXT record to your root domain to verify it with Meta.
- [Ad Landing Pages](https://docs.ranksyapp.com/hc/docs/articles/ad-landing-pages) — Change the text and the links of the landing page.