Skip to content

Commit 6f81574

Browse files
Domain Connect (#432)
Co-authored-by: Steven Tey <stevensteel97@gmail.com>
1 parent 25f525a commit 6f81574

4 files changed

Lines changed: 34 additions & 1 deletion

File tree

help/article/email-campaigns.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ Click **Add domain**, and enter the domain you want to send emails from.
4343

4444
You’ll receive DNS setup instructions and values to connect the domain. A **DMARC** record will also be provided — we strongly recommend adding it to help prevent email spoofing.
4545

46+
If your email domain's DNS is hosted on **Vercel** or **Cloudflare**, you can skip manual DNS setup entirely. Click **Auto configure with Vercel** or **Auto configure with Cloudflare** on the DNS records screen, approve the request on your provider's side, and the correct MX, SPF, DKIM, and DMARC records will be added for you automatically.
47+
48+
If you don't have access to your domain's DNS settings yourself, click **Forward instructions** to email the exact records needed straight to whoever manages your DNS (e.g. your IT team or domain registrar) - no manual copy/pasting required.
49+
4650
<Frame>
4751
<img
4852
src="https://assets.dub.co/cms/email-domain-records-3.png"

help/article/how-to-add-custom-domain.mdx

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,25 @@ After adding your domain, you'll be presented with a DNS record that you'll need
5959
/>
6060
</Frame>
6161

62+
If your domain is hosted on **Vercel** or **Cloudflare**, you can skip manual DNS setup entirely.
63+
64+
Click **Auto configure with Vercel** or **Auto configure with Cloudflare** on the domain configuration screen, approve the request on your provider's side, and the correct records (including [TXT verification](#step-3-optional--verify-domain-ownership), if needed) will be added for you automatically.
65+
66+
<Frame>
67+
<video
68+
src="https://assets.dub.co/help/dub-domain-connect.mp4"
69+
loop
70+
autoPlay
71+
muted
72+
playsInline
73+
controls
74+
/>
75+
</Frame>
76+
77+
If you don't have access to your domain's DNS settings yourself, click **Forward instructions** to email the exact records needed straight to whoever manages your DNS (e.g. your IT team or domain registrar) - no manual copy/pasting required.
78+
79+
Otherwise, follow the manual steps below based on whether you're adding an apex domain or a subdomain.
80+
6281
## Step 2a: Adding an apex domain
6382

6483
If you're adding an apex domain (e.g. `example.com`), you'll need to add an `A` record with the following values:
@@ -95,7 +114,9 @@ We recommend using the following variations for your subdomains:
95114

96115
<Info>
97116
This step is only applicable if you are adding a domain that is currently
98-
being used on [Vercel](https://vercel.com/).
117+
being used on [Vercel](https://vercel.com/). If you used **Auto configure** in
118+
Step 2, this TXT record is added automatically and you can skip the rest of
119+
this step.
99120
</Info>
100121

101122
Since we use Vercel as the DNS provider for Dub, you'll need to verify that you own the domain before you can add it to your Dub workspace.

help/article/using-cloudflare-domains.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ Configuring Cloudflare as DNS only is also better for redirect speeds, since you
1414

1515
To set this up, all you need to do is [set your domain's DNS records](/help/article/how-to-add-custom-domain#step-2-configure-your-domain) to point to Dub's servers and make sure that you're using the **DNS only** option on Cloudflare.
1616

17+
<Tip>
18+
If you used **Auto configure with Cloudflare** ([Domain
19+
Connect](/help/article/how-to-add-custom-domain#step-2-configure-your-domain))
20+
when adding your domain, this is already done for you – the DNS record it
21+
creates is automatically set to **DNS only**, so you can skip the manual
22+
steps below.
23+
</Tip>
24+
1725
1. Go to your Cloudflare dashboard and select your domain.
1826
2. Click on the **DNS** tab on the sidebar menu.
1927
3. Under **Records**, click on the **Edit** button.
512 KB
Loading

0 commit comments

Comments
 (0)