Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problemsA CNAME record is a DNS record that points one hostname to another hostname instead of pointing directly to an IP address. It is commonly used to make aliases work, such as sending www.example.com to example.com, connecting a subdomain to a hosted service, or verifying a domain with a third-party platform.
Used correctly, CNAME records make DNS management easier because the alias follows the target hostname even if that target’s IP address changes. Used incorrectly, they can cause broken websites, failed email routing, redirect confusion, or DNS conflicts, especially when placed at the root domain or combined with incompatible records.
As an Amazon Associate I earn from qualifying purchases.
Understanding how CNAME records work, where they can be used, and how to create, edit, verify, and troubleshoot them safely helps keep domains reliable while connecting websites, apps, CDNs, email tools, and SaaS platforms to the right destination.
What Is a CNAME Record?
A CNAME record, short for Canonical Name record, is a DNS record that points one domain name to another domain name. Instead of sending traffic directly to an IP address, a CNAME creates an alias. For example, www.example.com can be set as a CNAME that points to example.com, or blog.example.com can point to a hosted platform such as sites.example-provider.com.
#1 Best Overall
- VERSATILE CABLE TESTING: Cable tester for data (RJ45) terminated cables and patch cords, ensuring comprehensive testing capabilities
- LARGE BACKLIT LCD: Backlit LCD display enables easy reading of pin-to-pin wiremap results, even in low-lit areas
- COMPREHENSIVE FAULT DETECTION: Test for Open, Short, Miswire, Split-Pair faults, Cross-over, and Shield, providing thorough fault detection
- INTUITIVE USER INTERFACE: User-friendly interface with three buttons and simple, easy-to-identify test responses, ensuring a smooth testing experience
- MULTIPLE TONE GENERATOR STYLES: Tone on a single wire, wire pair, or all 8 conductor wires using the multiple style tone generator (solid/warble); requires probe Cat. No. VDV500-123 (sold separately)
This makes CNAME records useful when you want mulle hostnames to resolve to the same destination without managing separate IP address records for each one. The hostname that contains the CNAME is the alias, and the hostname it points to is the canonical name. When someone visits the alias, DNS follows the CNAME target and then resolves that target to its final address using an A record, AAAA record, or another valid DNS response.
A simple example looks like this:
| Host | Record Type | Value | Meaning |
|---|---|---|---|
| www | CNAME | example.com | www.example.com is an alias of example.com |
| shop | CNAME | shops.mycommercehost.com | shop.example.com points to a third-party ecommerce service |
CNAME records are commonly used for www versions of websites, branded subdomains, customer portals, documentation sites, landing pages, status pages, CDN hostnames, and SaaS tools that ask you to connect a custom domain. For instance, an email marketing platform might ask you to create newsletter.example.com as a CNAME pointing to a hostname they control, allowing them to serve your branded page while still managing the underlying infrastructure.
There are a few constraints to understand before using one. A CNAME should generally be used for a subdomain, such as www, app, or help. It should not be placed at the root or apex of a domain, such as example.com, in standard DNS, because the root usually needs other records like NS, SOA, MX, and TXT records. Some DNS providers offer alternatives such as ALIAS, ANAME, or CNAME flattening to provide similar behavior at the root domain.
A CNAME record also cannot coexist with most other record types on the same hostname. If blog.example.com has a CNAME record, you should not also create an A, AAAA, MX, or TXT record for blog.example.com. Keeping that hostname dedicated to the CNAME avoids conflicting DNS answers and makes resolution predictable.
How CNAME Records Work in DNS
A CNAME record works by telling DNS resolvers that one hostname is an alias of another hostname. Instead of pointing directly to an IP address, the alias points to a canonical name, which then has its own DNS records. For example, www.example.com can be a CNAME for example.com, or shop.example.com can be a CNAME for a hosted ecommerce platform such as stores.provider.com.
When someone enters a domain such as www.example.com in a browser, the DNS lookup usually starts with a resolver operated by the user’s ISP, network, or public DNS provider. The resolver checks whether it already has a cached answer. If not, it follows the DNS hierarchy to find the authoritative nameservers for the domain. If the authoritative nameserver returns a CNAME, the resolver does not stop there. It then performs another lookup for the target hostname named in the CNAME record.
Example DNS lookup flow
- A user visits www.example.com.
- The resolver asks the authoritative DNS server for the record for www.example.com.
- The DNS server responds that www.example.com is a CNAME for example.com or another target hostname.
- The resolver then looks up the target hostname’s address records, such as A records for IPv4 or AAAA records for IPv6.
- The resolver returns the final IP address to the browser, which connects to the web server or service.
This aliasing behavior is useful because it lets you manage the destination in one place. If app.example.com points to customer123.hosting-service.com, and the hosting provider changes the underlying IP addresses, you usually do not need to update your DNS record. The provider updates the records for its own hostname, and your CNAME continues to follow that target.
Free tools Windows power users keep installed
One-click scans. No signup required.
Rank #2
- VERSATILE CABLE TESTING: Cable tester tests voice (RJ11/12), data (RJ45), and video (coax F-connector) terminated cables, providing clear results for comprehensive testing on unenergized Ethernet cables (not designed to test PoE)
- EXTENDED CABLE LENGTH MEASUREMENT: Measure cable length up to 2000 feet (610 m), allowing for precise cable length determination
- COMPREHENSIVE FAULT DETECTION: Test for Open, Short, Miswire, or Split-Pair faults, ensuring thorough fault detection and identification
- BACKLIT LCD DISPLAY: Backlit LCD screen displays cable length, wiremap, cable ID, and test results, ensuring easy readability in various lighting conditions
- EFFICIENT CABLE TRACING: Trace cables, wire pairs, and individual conductor wires using the multiple style tone generator (requires analog probe Cat. No. VDV500-123, sold separately), simplifying cable tracing tasks
| Hostname | Record Type | Value | Result |
|---|---|---|---|
| www.example.com | CNAME | example.com | www follows the DNS records of example.com |
| blog.example.com | CNAME | sites.hostingprovider.com | blog routes to a third-party platform |
| cdn.example.com | CNAME | example.cdnprovider.net | cdn routes through a content delivery network |
CNAME records also interact with DNS caching through the record’s TTL, or time to live. The TTL tells resolvers how long they may cache the CNAME response before checking again. A shorter TTL, such as 300 seconds, can help during migrations because changes are picked up more quickly. A longer TTL, such as 3600 seconds or more, can reduce repeated DNS queries once the configuration is stable.
There are a few constraints to keep in mind. A hostname with a CNAME record generally cannot have other record types at the same exact name, such as MX, TXT, or A records. This is the root domain, also called the zone apex, is often not configured with a traditional CNAME. Many DNS providers offer alternatives such as ALIAS, ANAME, or CNAME flattening for apex-style aliasing while still returning address records to resolvers.
Common Uses for CNAME Records
CNAME records are most useful when one hostname needs to act as an alias for another hostname. Instead of pointing a name directly to an IP address, a CNAME points it to a canonical domain name that already has its own DNS records. This makes management easier because you can update the destination in one place while keeping mulle aliases working.
Using CNAME records for www domains
One of the most common uses is connecting the www version of a domain to the root domain or to a hosting provider’s assigned hostname. For example, www.example.com might be set as a CNAME for example.com or for a platform hostname such as example.hostingprovider.com. When someone visits www.example.com, DNS follows the alias and resolves the destination hostname instead.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Pointing subdomains to services
CNAME records are widely used for subdomains such as blog.example.com, shop.example.com, help.example.com, or app.example.com. This setup is common when different parts of a website are handled by different systems. A company might host its main website on one provider, its store on an ecommerce platform, its documentation on a help desk platform, and its application dashboard on a separate cloud service.
- blog.example.com can point to a managed blogging platform.
- shop.example.com can point to an ecommerce provider.
- support.example.com can point to a customer support portal.
- status.example.com can point to an uptime status page provider.
Connecting domains to third-party platforms
Many SaaS platforms ask customers to create a CNAME record during setup. This allows the platform to serve content under the customer’s own branded subdomain while still controlling the underlying infrastructure. For example, an email marketing tool may ask you to point links.example.com to a tracking hostname, while a landing page builder may ask you to point pages.example.com to its publishing endpoint.
| Use case | Example alias | Example target |
|---|---|---|
| Website hosting | www.example.com | example.hostingprovider.com |
| Help center | help.example.com | company.helpdesk.com |
| Online store | shop.example.com | storefront.ecommerceplatform.com |
| Status page | status.example.com | statuspage.provider.com |
CNAME records are generally best suited for subdomains, not the root or apex domain such as example.com. Standard DNS rules do not allow a CNAME at the same name as records like NS, SOA, MX, or TXT, which are often required at the root. Some DNS providers offer alternatives such as ALIAS, ANAME, or CNAME flattening for root-domain behavior. Before creating a CNAME, check whether the hostname already has another record type, because a CNAME cannot safely coexist with most other records at the same exact name.
Rank #3
- Multifunctional NOYAFA NF-8508 Network Cable Tester: There are nine features to meet your needs. Continuity Testing, Cable Scan, Port Flash, Length Measurement, POE Power Supply Test, QC testing, Optical Power Meter, VFL and NVC function.It is perfectly suited for various engineering cabling projects, network troubleshooting, network equipment maintenance and testing scenarios. Its precise cable scanning and fault localization capabilities help you effortlessly pinpoint the root cause of issues.
- 7 WAVELENGTHS OPTICAL POWER METER: NF-8508 network cable tester can measure 7 standard wavelengths, 850/1300/1310/1490/1550/1625/1650, power detecting range(dBm): -70 ~ +10. Its power detection range spans from -70 dBm to +10 dBm, supporting FC/SC/ST connectors. It enables precise fiber optic power measurement, helping users efficiently assess fiber signal strength and ensure healthy fiber link operation. It effortlessly detects attenuation issues within fibers, thereby safeguarding fiber network stability.
- High Efficiency Visual Fault Locator: Easy identification of fiber breakpoints, poor connections, bending or cracking. Excellent for finding the right fiber to splice or quickly finding a break. Emmiting Energy: standard wavelenth: 650nm. Fast flashing, slow flashing, high precison.The built-in self-calibration ensures stable long-term performance, and Class IIIa laser (output<5mW) ensures safe daily operation.
- PORT FLASHING:The indicator light on the connection port in the NF-8508 device flashes to help accurately locate the cable. Displays port information, including operating speed, duplex mode, and negotiation settings. Port lights flash on the same screen to show the port's operating speed, making it easy to pinpoint lines and ports.
- PoE Testing and Cable Length Test: PoE testing can check cable mapping polarity and voltage of PoE network switches, withstand 60VDC. Automatically detects and switches between 10M/100M/1000M modes, Includes cable tracking, short circuit test, interruption of circuit test and etc The RJ45 cable tester can quickly measure the length of the cable with a range of 200m. Not only network cables, but also phone lines and BNC cables.
How to Create a CNAME Record
Creating a CNAME record means adding an alias in your domain’s DNS zone so one hostname points to another hostname. Before you start, confirm two details: the host you want to alias, such as www, blog, or shop, and the target hostname it should point to, such as example.com, sites.example-provider.com, or a service-specific domain supplied by a platform. The target should be a domain name, not an IP address; if you need to point directly to an IP address, use an A or AAAA record instead.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchTo create the record, sign in to the DNS provider that manages your domain’s authoritative nameservers. This might be your domain registrar, hosting company, CDN, or dedicated DNS provider. Open the DNS management area for the domain, then choose the option to add a new record. Select CNAME as the record type and enter the hostname in the name, host, or alias field. For example, to create www.example.com, many DNS panels require only www; to create blog.example.com, enter blog.
- Choose the record type: Select CNAME from the DNS record type list.
- Enter the host/name: Use the subdomain label, such as www, app, or help. Avoid entering the full domain unless your provider specifically asks for it.
- Enter the target/value: Add the destination hostname exactly as provided, such as example.com or custom.servicehost.com.
- Set the TTL: Use the default value if you are unsure. A TTL between 300 and 3600 seconds is common for records that may need future changes.
- Save the record: Apply or save the DNS change, then allow time for DNS caches to update.
A common example is creating www.example.com as an alias for example.com. In that case, the CNAME host is www, and the target may be example.com. Another frequent setup is connecting a subdomain to a third-party service. For instance, a documentation platform might ask you to create a CNAME where docs points to yourcompany.docs-provider.com. Always copy the provider’s target hostname carefully, including any required trailing domain portion, because a small typo can prevent validation or routing.
| Use case | Host/name | Target/value |
|---|---|---|
| Website alias | www | example.com |
| Blog subdomain | blog | hosting-platform.example.net |
| Help center | help | support-provider.example.com |
Do not create a CNAME at the root domain, such as example.com, unless your DNS provider offers a special flattened CNAME, ANAME, or ALIAS feature. Standard DNS rules do not allow a CNAME at the zone apex when other required records, such as NS, SOA, MX, or TXT records, also exist there. Also check that the hostname does not already have another record type. A name such as shop.example.com generally cannot have both a CNAME and an A record at the same time. After saving, wait for propagation based on the TTL, then verify the result with a DNS lookup tool before assuming the alias is live.
How to Edit or Delete a CNAME Record
Editing or deleting a CNAME record is usually done in the DNS management area of your domain registrar, hosting provider, or dedicated DNS provider such as Cloudflare, Route 53, or Google Cloud DNS. Before making changes, identify the exact hostname you want to modify, such as www, blog, shop, or app. Also confirm the current target value, since changing a CNAME affects where that alias sends traffic.
To edit a CNAME record, open your DNS zone editor and find the existing record with the matching name. Update the target, value, or points to field to the new canonical hostname. For example, you might change www from old-site.examplehost.com to new-site.examplehost.com. Do not enter http://, https://, paths, query strings, or port numbers in a CNAME target. A valid CNAME target is a hostname, such as example.provider.com, not a full URL like https://example.provider.com/store.
Safe steps for editing a CNAME
- Record the current settings. Copy the existing name, target, TTL, and proxy status if your DNS provider has one.
- Lower the TTL before a planned change. If possible, reduce the TTL to 300 seconds several hours in advance so updates can propagate faster.
- Edit only the intended record. Similar names such as www and www-staging can be easy to confuse.
- Save the change. Some providers require an extra confirmation step before the DNS zone is updated.
- Test from multiple locations. DNS caches may show different answers until the previous TTL expires.
Deleting a CNAME record removes the alias entirely. This is appropriate when a subdomain is no longer used, when you are replacing the CNAME with another record type, or when a third-party service has been disconnected. For instance, if blog.example.com used to point to a hosted blogging platform and the blog has been moved elsewhere, you may delete that CNAME and create the new required DNS record. After deletion, visitors may see connection errors, browser warnings, or service-specific error pages until a replacement record is added and DNS caches refresh.
Rank #4
- Automatically runs all tests and checks for continuity, open, shorted and crossed wire pairs. Visible LED status display.
- Cable state testing (2-wire): Line DC detecting, anode and cathode determination,Ringing signal detecting open, short and cross circuit testing
- Cable Type: RJ11 Telephone cable and RJ45 LAN cable
- Connectors: Ethernet Cat 5, Ethernet Cat 5e, Ethernet Cat 6, Ethernet Cat 7, RJ11 6P and RJ45 8P
- Power Source: DC9V Battery Required (not included)
Records to check before deleting
- Conflicting records: A hostname with a CNAME should not also have A, AAAA, MX, TXT, or other records at the same name.
- Email dependencies: Do not delete records related to mail services unless you have confirmed they are unused.
- Service verification: Some platforms require a CNAME to prove domain ownership or keep a custom domain active.
- Root domain limits: Standard CNAME records are not used at the zone apex, such as example.com, because the root usually needs NS, SOA, MX, and other records.
If you are replacing a CNAME with another record type, delete the CNAME first, then add the new record after the provider accepts the removal. Many DNS interfaces prevent saving a new A, AAAA, or TXT record at the same hostname while a CNAME exists. For high-traffic domains, schedule the change during a low-usage period, keep a copy of the old value, and be ready to restore it if the new destination does not respond as expected.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.How to Verify and Troubleshoot a CNAME Record
After creating or changing a CNAME record, verify that public DNS resolvers return the alias you expect. DNS changes are not always instant because recursive resolvers may cache the previous answer until its TTL expires. If you lowered the TTL before making the change, results may update sooner; if not, allow time for older cached responses to clear before assuming the record is broken.
Check the CNAME response
Use a DNS lookup tool such as dig, nslookup, or an online DNS checker. Query the full hostname, not just the root domain. For example, if you created a record for www.example.com, query that exact name. A healthy response should show that the hostname is an alias of the target hostname, such as example-site.hostingprovider.com. The target should usually resolve onward to A or AAAA records so browsers can reach an IP address.
- dig: Run a CNAME query for the hostname and confirm the returned canonical name matches the intended target.
- nslookup: Query the alias hostname and review the “canonical name” or alias line in the output.
- Online DNS checkers: Compare results from several regions to see whether propagation is consistent globally.
- Authoritative nameserver checks: Query the domain’s authoritative nameservers directly to confirm the record exists at the source.
Common CNAME problems
If the record does not resolve, first confirm that you are editing DNS at the correct provider. Domains often use nameservers from a registrar, DNS platform, CDN, or hosting company, and changes made in the wrong dashboard will have no effect. Check the domain’s NS records and compare them with the provider where you edited the zone. Also verify that the host field is entered correctly: many DNS panels expect only www or blog, while others expect the full hostname.
| Symptom | Likely cause | What to check |
|---|---|---|
| CNAME not found | Wrong DNS provider or host value | Confirm authoritative nameservers and the exact hostname |
| Old target still appears | Cached DNS response | Wait for the previous TTL to expire and test from another resolver |
| DNS panel rejects the record | Conflict with another record | Remove any A, AAAA, MX, TXT, or other records at the same name if a CNAME is required |
| Browser shows a certificate error | Service is not configured for the hostname | Add the custom domain in the third-party service and provision SSL |
| Redirect does not happen | CNAME is not an HTTP redirect | Configure redirects in the web server, CDN, or hosting platform |
Be careful with CNAME records at the zone apex, such as example.com. Standard DNS does not allow a CNAME at the root when other required records, such as NS and SOA, already exist. Some DNS providers offer ALIAS, ANAME, or CNAME flattening for this use case. These provider-specific options can point the root domain to another hostname while still returning address records to DNS clients.
When troubleshooting third-party services, confirm both sides of the setup. The DNS record must point to the exact target supplied by the provider, and the provider must recognize your custom hostname in its own dashboard. If verification fails, look for extra spaces, missing trailing dots, duplicate records, proxy settings in a CDN, or a target hostname copied from the wrong environment. Once DNS returns the correct CNAME and the destination service accepts the hostname, test the site or application over both HTTP and HTTPS to confirm the full path works.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →Frequently Asked Questions
Can I create a CNAME record for my root domain?
Standard DNS rules do not allow a CNAME at the root domain, such as example.com, because the root must also have required records like NS and SOA. Many DNS providers offer alternatives called ALIAS, ANAME, or CNAME flattening that behave similarly while still working at the root. If your provider supports one of these, use it for pointing the root domain to another hostname.
Best Value
- Multi-Function Network Cable Tester: Supports RJ45 (CAT5, CAT5e, CAT6, CAT6A, CAT7) and RJ11 telephone cables. Quickly detects continuity, short circuits, open wires, miswiring, and cable shielding status, ensuring your LAN or phone lines are correctly wired and ready to use.
- Fast/Slow Mode with LED Indicators: Switch between fast and slow scan speeds to identify wiring issues more precisely. LED lights on both master and remote units show wire order, making it easy to spot errors like open pairs or misaligned pins at a glance.
- Split-Type Design for Long-Distance Testing: Master and remote units can be detached and used separately, allowing you to test both ends of a long cable run, ideal for wall-mounted ports, long runs, or structured cabling. Perfect for home, office, or professional IT setups.
- Compact, Lightweight & Durable: Ergonomically designed with sturdy ABS housing, this pocket-sized tester is ideal for on-the-go network engineers, DIYers, and electricians. It’s your go-to toolkit for cable maintenance, upgrades, or new installations.
- Safe & Easy to Use: Simple one-button operation makes testing quick and hassle-free. LED indicators clearly show wiring status, while the G light instantly identifies shielded (FTP/STP) or unshielded (UTP) cables. Supports safe testing of telephone lines with typical voltages under 48-72V, ideal for both home and professional use.
How long does it take for a new CNAME record to start working?
A CNAME record can start working within minutes, but full propagation may take several hours depending on the TTL value and DNS caching. If the old record had a long TTL, some users may continue seeing the previous destination until cached data expires. Lowering the TTL before making a planned change can make updates take effect faster.
Can I point a CNAME record to an IP address?
No, a CNAME must point to another hostname, such as app.example.com or service.provider.com. If you need to point a name directly to an IPv4 address, use an A record instead. For an IPv6 address, use an AAAA record.
What happens if I already have another DNS record with the same name as my CNAME?
A hostname with a CNAME record should not have other record types on the same name. For example, if www.example.com has a CNAME, it should not also have an A, AAAA, MX, or TXT record. Delete or change the conflicting record before adding the CNAME to avoid DNS errors and unreliable resolution.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
How can I check if my CNAME record is set up correctly?
Use a DNS lookup tool and query the exact hostname you created, such as www.example.com. The result should show the CNAME target you entered, followed by the final A or AAAA record that the target resolves to. If it does not appear, check for typos, missing trailing domains, incorrect DNS zone settings, and cached results from the previous TTL.
Bottom Line
A CNAME record is a simple but DNS tool for pointing one hostname to another, whether you are setting up www, connecting a subdomain, or verifying a third-party service. Used correctly, it keeps aliases easier to manage because updates happen at the target hostname rather than across multiple duplicate records.
Before creating or editing a CNAME, confirm the exact host and target values, avoid conflicts with other DNS records, and allow time for DNS propagation. After saving changes, verify the record with a DNS lookup tool and troubleshoot issues by checking spelling, TTL, provider requirements, and whether another record is blocking the alias.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




