Add site to Cloudflare
When you add a site to Cloudflare, you need to create a new domain within Cloudflare and then perform additional steps to activate that domain.
Prerequisites
To use Cloudflare, you need to own a domain (example.com
).
If you do not already own a domain name and plan to use Cloudflare for your authoritative DNS, we highly recommend purchasing your domain name through Cloudflare Registrar.
Using Cloudflare Registrar simplifies your setup process by automatically using Cloudflare for authoritative DNS.
Step 1 — Add site in Cloudflare
Log in to the Cloudflare dashboard.
In the top navigation bar, click Add site.
Enter your website’s root domain (
example.com
) and then click Add Site.Select your plan level. For more details on features and pricing, refer to our Plans page.
Cloudflare will then automatically scan for your DNS records.
Since this scan is not guaranteed to find all existing DNS records, you need to review your records, paying special attention to the following record types:
If you find any missing records, manually add those records.
Depending on your site setup, you may want to adjust the proxy status for certain
A
,AAAA
, orCNAME
records.Click Continue.
Click Done, check nameservers.
Go through the Quick Start Guide, which allows you to:
- Improve security: Make sure that your site enforces HTTPS connections using Always Use HTTPS and Automatic HTTPS Rewrites. For more help, refer to ourdetailed guide.
- Optimize performance: Speed up your site by enabling Auto Minify and Brotli compression.
When you have finished the Quick Start Guide, click Finish.
Step 2 — Update nameservers
Once you have added a domain (also known as a zone) to Cloudflare, that domain will receive two assigned authoritative nameservers.
Before your domain can begin using Cloudflare for DNS resolution, you need to add these nameservers at your registrar.
Step 3 — Complete SSL/TLS setup
To prevent insecure connections and visitor browser errors, enable SSL/TLS protection.
Step 4 - Go beyond the basics
For suggestions and guidance about getting the most out of your Cloudflare account, refer to our Solution guides.