Type | Name | IPv4 address | Proxy status |
---|---|---|---|
A | @ | 192.0.2.1 | Proxied |
When you add a domain to Cloudflare, you may also need to create or review the DNS record on your zone apex. Zone apex refers to the domain (example.com
) or subdomain (blog.example.com
) that you are adding to Cloudflare.
Usually, the zone apex record makes your domain accessible by visitors. In this case, the necessary record type (A, AAAA, or CNAME) and its content will depend on the provider that hosts your website or application. If you are using Cloudflare Pages, refer to Custom domains. If you are using other providers, look for their guidance on how to connect domains managed on external DNS services.
To create a zone apex record, use @
for the record Name, as in the following example.
Type | Name | IPv4 address | Proxy status |
---|---|---|---|
A | @ | 192.0.2.1 | Proxied |
A
, AAAA
, or CNAME
as the record Type, according to your needs:
A
, use your zone apex (@
) for the record Name, and insert the IPv4 address in the respective field.AAAA
, use your zone apex (@
) for the record Name, and insert the IPv6 address in the respective field.your-site.host.example.com
), select CNAME
, use your zone apex (@
) for the record Name, and insert the fully qualified domain name in the Target field.Use the Create DNS Record API endpoint.
For field definitions, refer to the API documentation (visible once you select the record type under the request body specification).
@
) for the field name
, and use the IPv4 address for the field content
.@
) for the field name
, and use the IPv6 address for the field content
.your-site.host.example.com
), select CNAME Record, use your zone apex (@
) for the field name
, and use the fully qualified domain name for the field content
.Once you create a domain, you may want to route that traffic to other places.
For more guidance, refer to Redirect domain to subdomain or Redirect one domain to another.
While DNS is what communicates where your website or application can be reached, SSL/TLS is what enables websites and applications to establish connections in a secure way.
If your domain is not correctly covered by an SSL/TLS certificate, your visitors will find a warning on their browser stating that your website or application is not secure.
Cloudflare offers free, unshared, publicy trusted Universal SSL certificates to all Cloudflare domains.