How to Add a CNAME Record
A CNAME record (Canonical Name record) creates an alias that points one domain name to another. Instead of pointing to an IP address like an A record does, a CNAME points to another hostname. This is useful when a service gives you a hostname rather than an IP address to point to.
Common Uses for CNAME Records
- Pointing
www.example.catoexample.ca - Setting up a custom subdomain for a third-party service (e.g.,
shop.example.cato a Shopify store) - Email autodiscover for services like Google Workspace or Microsoft 365
How to Add a CNAME Record in cPanel
- Log in to cPanel and navigate to Domains > Zone Editor.
- Click Manage next to your domain.
- Click Add Record and select CNAME from the Type dropdown.
- In the Name field, enter the subdomain you're creating the alias for (e.g.,
wwworshop). - In the Record field, enter the destination hostname (e.g.,
example.caorstores.myshopify.com). Make sure it ends with a trailing dot if your Zone Editor requires fully qualified names (e.g.,example.ca.). - Click Add Record to save.
Important Limitation
CNAMEs cannot be used on the root domain (e.g., you cannot set a CNAME for example.ca itself). If you need to point your root domain somewhere, use an A record instead. CNAMEs are only valid on subdomains.
If you're unsure what value to enter, check the instructions from the third-party service you're configuring, or contact our support team for help.
100% Satisfaction Guarantee
We're so confident you'll love dotCanada that we offer a 30-day money-back guarantee. Not satisfied? Get a full refund, no questions asked.
Ready to Get Started?
Join thousands of Canadian website owners who trust dotCanada for reliable, fast web hosting.
Get Started Today
