Skip to content

Commit a3d413b

Browse files
Replace repeated text in create-zone-apex by new partial
1 parent a033e2a commit a3d413b

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

src/content/docs/dns/manage-dns-records/how-to/create-zone-apex.mdx

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar:
66

77
---
88

9-
import { Example, Tabs, TabItem, Render } from "~/components"
9+
import { Example, Render } from "~/components"
1010

1111
When you add a domain to Cloudflare, you may also need to create a DNS record on your zone apex (`example.com`).
1212

@@ -20,25 +20,10 @@ To do this, create an [IP address resolution record](/dns/manage-dns-records/ref
2020

2121
</Example>
2222

23-
<Tabs syncKey="dashPlusAPI">
24-
<TabItem label="Dashboard">
25-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and zone.
26-
2. Go to **DNS** > **Records** and select **Add record**.
27-
3. Select `A`, `AAAA`, or `CNAME` as the record **Type**, according to your needs:
28-
- If your hosting service has provided an IPv4 address, select `A`, use `@` for the record **Name**, and insert the IPv4 address in the respective field.
29-
- If your hosting service has provided an IPv6 address, select `AAAA`, use `@` for the record **Name**, and insert the IPv6 address in the respective field.
30-
- If your hosting service has provided a hostname (or a [fully qualified domain name](https://en.wikipedia.org/wiki/Fully_qualified_domain_name)), select `CNAME`, use `@` for the record **Name**, and insert the hostname in the **Target** field.
31-
4. Specify the **Proxy status** and **TTL** according to your needs.
32-
5. Select **Save** to confirm.
33-
</TabItem>
34-
<TabItem label="API">
35-
Use the [Create DNS Record API endpoint](/api/operations/dns-records-for-a-zone-create-dns-record).
36-
<Render file="api-field-definitions" />
37-
- If your hosting service has provided an IPv4 address, select **A Record**, use `@` for the field `name`, and use the IPv4 address for the field `content`.
38-
- If your hosting service has provided an IPv6 address, select **AAAA Record**, use `@` for the field `name`, and use the IPv6 address for the field `content`.
39-
- If your hosting service has provided a hostname (or a [fully qualified domain name](https://en.wikipedia.org/wiki/Fully_qualified_domain_name)), select **CNAME Record**, use `@` for the field `name`, and use the hostname for the field `content`.
40-
</TabItem>
41-
</Tabs>
23+
<Render file="dns-record-steps" product="dns" params={{
24+
name: "your zone apex",
25+
example: "@"
26+
}} />
4227

4328
## Domain redirects
4429

0 commit comments

Comments
 (0)