Add a Domain to Cloudflare and configure CNAME and A type records Print

  • cloudflare, domain, cname
  • 64

To add a domain to Cloudflare and configure CNAME and A type records, follow these steps:

1. Sign up and Add Domain: Create an account on Cloudflare (if you haven't already) and log in. Click on the "Add a Site" button and enter your domain name. Cloudflare will scan your existing DNS records and import them.

2. DNS Configuration: After adding your domain, Cloudflare will display a list of your existing DNS records. Review them to ensure all necessary records are imported correctly.

3. Add CNAME Record: To add a CNAME record, click on the "Add record" button. Choose "CNAME" as the record type and enter the relevant details:
- Enter the desired name for your CNAME record in the "Name" field (e.g., subdomain.example.com).
- Enter the destination or target domain in the "Target" field.
- Set the "TTL" (Time to Live) value (Cloudflare's default is usually fine).
- Click the "Save" button to add the CNAME record.

4. Add A Type Record: To add an A type record, click on the "Add record" button. Choose "A" as the record type and enter the following details:
- Enter the desired name for your A record in the "Name" field (e.g., example.com or www).
- Enter the IP address of the server or destination in the "IPv4 address" field.
- Set the "TTL" value (Cloudflare's default is usually fine).
- Click the "Save" button to add the A record.

5. Verify and Wait for DNS Propagation: Once you've added the CNAME and A records, ensure they are correctly displayed in your DNS records list. Note that DNS propagation can take some time, ranging from a few minutes to several hours. During this period, your changes may not be immediately visible to all users.

It's important to note that the specific steps for adding and configuring DNS records in Cloudflare may vary slightly based on the user interface or updates made by Cloudflare. If you encounter any difficulties, refer to Cloudflare's documentation or contact their support for assistance.


Was this answer helpful?

« Back