To set up a CNAME (Canonical Name) record to alias one domain name to another, follow these steps:
1. **Access Your DNS Management Console:**
- Log in to the DNS management console provided by your domain registrar or DNS hosting provider. This is where you can manage your domain's DNS records.
2. **Locate the CNAME Record Section:**
- Look for an option that allows you to manage or edit DNS records. It's usually labeled as "DNS Management," "DNS Settings," or similar.
3. **Create a New CNAME Record:**
- Choose "CNAME" or "CNAME Record" from the record type dropdown menu. This is where you'll create the CNAME record.
4. **Enter the Alias (Subdomain):**
- In the provided field, enter the subdomain (alias) you want to set up. For example, if you want to alias "blog.example.com" to "www.example.com," you would enter "blog" in the subdomain field.
5. **Specify the Canonical Name (Target Domain):**
- In the field provided for the canonical name, enter the domain name to which you want the alias to point. This should be the fully qualified domain name (FQDN) of the target domain.
6. **Set TTL (Time to Live):**
- Specify the Time to Live value. This determines how long DNS servers will cache this information. The default is often fine, but you can adjust it if needed.
7. **Save or Update the CNAME Record:**
- After entering the alias and canonical name, save or update the record. This action varies depending on your DNS management console, but it's typically labeled as "Save," "Update," or similar.
8. **Wait for DNS Propagation:**
- DNS changes may take some time to propagate across the internet. This process can take anywhere from a few minutes to 48 hours, although it's usually faster.
9. **Verify the Changes:**
- After some time has passed, you can verify if the alias is now pointing to the target domain. You can use online DNS lookup tools to check the CNAME record for your subdomain.
Keep in mind that changes to DNS records can affect website accessibility and email delivery. Always make sure you're making changes with caution, and double-check your configurations before saving.