Articles on: DNS

How to configure DNS records for your website (A, CNAME, MX, etc.)






At dotCanada.com, we provide an easy-to-use cPanel interface to manage your domain's DNS records. DNS (Domain Name System) records are essential for directing internet traffic to your website and email services. Here's how to configure the most common types of DNS records:


  1. A Record (Address Record)

An A record maps a domain name to an IP address

To set an A record:

Log into cPanel

Go to the "Advanced DNS Zone Editor"

Click "Edit" next to your domain

Add a new A record with your domain and the IP address it should point to


  1. CNAME Record (Canonical Name Record)

A CNAME record maps an alias domain to another domain name address

Common uses include setting up subdomains (e.g. blog.yourdomain.com) or using a CDN

To create a CNAME:

Follow the steps to the Advanced DNS Zone Editor

Add a new CNAME record with the alias and the domain it should point to


  1. MX Record (Mail Exchanger Record)

MX records tell mail servers where to deliver email for your domain

You'll need an MX record to receive email at your@yourdomain.com

To set an MX record:

Go to the Advanced DNS Zone Editor

Add a new MX record with your domain and your mail server's hostname


  1. Other Common Records

TXT Records for verifying domain ownership

SPF Records for email anti-spam

AAAA Records for IPv6 addresses




















Updated on: 19/04/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!