How to Add an A Record in Cloudflare
An A Record is essential in DNS settings as it points your domain or subdomain to the IP address of your server, enabling visitors to reach your website. Here’s how to add an A Record in Cloudflare:
Step 1: Log in to Cloudflare
- Access your Cloudflare account and log in with your credentials.

- You’ll see a list of domains connected to Cloudflare.
Step 2: Select Your Domain
- In your domain list, click on the domain where you wish to add an A Record.
Step 3: Go to DNS Settings
- In the left sidebar, select DNS to access the DNS management page.

- Under DNS Records, look for the Add Record button and click on it.

Step 4: Configure the A Record
- Type: Choose A as the record type from the dropdown menu.
- Name: Enter the name for the record:
- Use @ if you want the record to apply to your main domain (e.g., example.com).
- For a subdomain, type in the full subdomain (e.g.,
blog.example.com
).
- IPv4 Address: Enter the IP address of your server where you want the domain to point.
- Proxy Status: You have the option to enable or disable Cloudflare’s proxy feature:
- Enabled (Orange Cloud Icon): This routes traffic through Cloudflare, providing DDoS protection and caching for faster loading times.
- Disabled (Gray Cloud Icon): This bypasses Cloudflare, directing traffic directly to your server IP without Cloudflare’s protection and caching.

Step 5: Save Changes
- After entering the information, click on Save or Add Record to finalize the A Record.

What is Cloudflare Proxy?
When the Cloudflare proxy is enabled, Cloudflare acts as an intermediary between visitors and your server, providing features like DDoS protection, SSL encryption, and caching. This not only helps protect your server but can also improve website performance by caching content on Cloudflare’s global network.
With your A Record set up, your domain or subdomain will now point to the specified IP address. It may take a few minutes for DNS changes to propagate globally.
Was this article helpful?
YesNo