{"id":28617,"date":"2022-07-06T16:22:19","date_gmt":"2022-07-06T16:22:19","guid":{"rendered":"https:\/\/easydmarc.com\/blog\/?p=28617"},"modified":"2026-03-18T04:05:26","modified_gmt":"2026-03-18T04:05:26","slug":"what-is-a-cname-record-and-how-to-create-it","status":"publish","type":"post","link":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/","title":{"rendered":"What is a CNAME Record and How to Create It?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">DNS records contain various instructions and information that DNS servers use to find domains on the internet. There are different <\/span><a href=\"https:\/\/easydmarc.com\/blog\/top-8-most-common-types-of-dns-records\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">types of DNS records<\/span><\/a><span style=\"font-weight: 400;\">, each serving a specific function. This article focuses on the fundamentals of the <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\">. We\u2019ll also walk you through how to create a <\/span><a href=\"https:\/\/easydmarc.com\/tools\/cname-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">CNAME record<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h2><b>What is a CNAME Record?<\/b><\/h2>\n<p><b>What is a CNAME record<\/b><span style=\"font-weight: 400;\">, you ask? It\u2019s also known as the Canonical name record, allowing you to create an alias that points to your domain name. In other words, it maps one hostname to another host or Fully Qualified Domain Name (FQDN). Below are a few <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\"> use cases:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\"> is helpful when you have multiple subdomains pointing to the same DNS location and don\u2019t want to assign an A or <\/span><a href=\"https:\/\/easydmarc.com\/tools\/aaaa-record-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">AAAA record<\/span><\/a> <span style=\"font-weight: 400;\">to each subdomain. The benefit here is that when the IP address of the host changes, only the root domain\u2019s DNS A record needs to be changed.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">You can use a <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\"> when you want a separate hostname for networking services like File Transfer Protocol (FTP), pointing to your website.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\"> is also used when registering the same domain in different countries,, and you want to point each country&#8217;s version to the main \u201c.com\u201d domain.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">You can use a <\/span><b>CNAME record in DNS<\/b><span style=\"font-weight: 400;\"> to point different websites from the same organization to the primary website.\u00a0<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">A typical example is when you have both <\/span><i><span style=\"font-weight: 400;\">myserver.com<\/span><\/i><span style=\"font-weight: 400;\"> and <\/span><i><span style=\"font-weight: 400;\">blog.myserver.com<\/span><\/i><span style=\"font-weight: 400;\"> pointing to the exact location. You can use the <\/span><b>C NAME record <\/b><span style=\"font-weight: 400;\">to avoid having two different records. Thus, you set your configuration as follows:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Create an A record for the <\/span><i><span style=\"font-weight: 400;\">myserver.com<\/span><\/i><span style=\"font-weight: 400;\"> domain pointing to the server\u2019s domain.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Create a CNAME record for <\/span><i><span style=\"font-weight: 400;\">blog.myserver.com<\/span><\/i><span style=\"font-weight: 400;\"> pointing to <\/span><i><span style=\"font-weight: 400;\">myserver.com.<\/span><\/i><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Performing a <a href=\"https:\/\/easydmarc.com\/tools\/cname-record-checker\">CNAME record lookup<\/a> on blog.myserver.com triggers another lookup to <i>myserver.com<\/i>, which returns the IP address of myserver.com through its A record. There\u2019s a concept you need to understand here.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">People often think a CNAME record must resolve to the same page as the domain it\u2019s pointing to, but this isn\u2019t the case. The CNAME only directs the web browser to the <\/span><b>same IP address as the root domain<\/b><span style=\"font-weight: 400;\">. So when the browser reaches this IP address, the DNS server handles the URL appropriately. While <\/span><i><span style=\"font-weight: 400;\">blog.myserver.com<\/span><\/i><span style=\"font-weight: 400;\"> has a CNAME pointing to <\/span><i><span style=\"font-weight: 400;\">myserver.com<\/span><\/i><span style=\"font-weight: 400;\">, the server will still deliver the blog page instead of the home page.<\/span><\/p>\n<h3><b>How the DNS Handles CNAME Records<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">As a DNS professional, you should understand how DNS handles CNAME records. Below is what the DNS record of the above example will look like:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">CNAME from subdomain to parent domain:<\/span><\/p>\n<table style=\"height: 220px;\" width=\"829\">\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">Name<\/span><\/td>\n<td><span style=\"font-weight: 400;\">DNS Record Type\u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Value<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">blog.myserver.com<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CNAME<\/span><\/td>\n<td><span style=\"font-weight: 400;\">myserver.com<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">myserver.com<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A<\/span><\/td>\n<td><span style=\"font-weight: 400;\">192.`68.`72.10<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><b>CNAME Records Resolution Process<\/b><\/h3>\n<ul>\n<li><span style=\"font-weight: 400;\">When you type the URL <\/span><i><span style=\"font-weight: 400;\">blog.myserver.com<\/span><\/i><span style=\"font-weight: 400;\"> in your web browser, it looks up the address to create a DNS request.\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">A DNS resolver receives the query and searches for the authoritative server with the DNS zone file containing the DNS records for the <\/span><i><span style=\"font-weight: 400;\">myserver.com<\/span><\/i><span style=\"font-weight: 400;\"> domain.\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">The DNS client (being your device or PC browser) gets the <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\"> after resolving the DNS request.\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">The browser now knows that <\/span><i><span style=\"font-weight: 400;\">blog.myserver.com<\/span><\/i><span style=\"font-weight: 400;\"> is only an alias for <\/span><i><span style=\"font-weight: 400;\">myserver.com<\/span><\/i><span style=\"font-weight: 400;\">, so it creates another new DNS query for <\/span><i><span style=\"font-weight: 400;\">myserver.com.<\/span><\/i><\/li>\n<li><span style=\"font-weight: 400;\">The above process is repeated, and the DNS resolver returns the A record for <\/span><i><span style=\"font-weight: 400;\">myserver.com<\/span><\/i><span style=\"font-weight: 400;\"> containing the IP address.\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">The DNS client now connects to <\/span><i><span style=\"font-weight: 400;\">blog.myserver.com<\/span><\/i><span style=\"font-weight: 400;\"> using the returned IP address.<\/span><\/li>\n<li><b>CNAME Record Format<\/b><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Every DNS record has a format, and a <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\"> is no different. Below is a <\/span><b>CNAME www record<\/b><span style=\"font-weight: 400;\"> format.<\/span><\/p>\n<table style=\"height: 158px;\" width=\"830\">\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">blog.myserver.com<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Record type:<\/span><\/td>\n<td><span style=\"font-weight: 400;\">value:<\/span><\/td>\n<td><span style=\"font-weight: 400;\">TTL<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">@<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CNAME<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Alias of myserver.com<\/span><\/td>\n<td><span style=\"font-weight: 400;\">32600<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><b>How to Create a CNAME Record in Your DNS?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">You can create a <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\"> in your DNS via your provider&#8217;s control panel. Whether you\u2019re using One.com, Bluehost, HostGator, or GoDaddy, the process is the same. Below is a step-by-step guide on <\/span><b>how to create a CNAME record in DNS<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Login to the DNS provider\u2019s control panel.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Go to the DNS settings and locate the DNS records.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Then click \u201ccreate\u201d or \u201cadd\u201d a new record, and select CNAME.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Input the below details:<\/span><\/li>\n<li><span style=\"font-weight: 400;\">The subdomain representing the alias for your primary domain.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">The domain name you create the alias must not be an IP address.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Enter a \u201ctime to live\u201d or TTL (optional), or you can leave it blank.\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Hit the \u201cCreate Record\u201d button to save your information.<\/span><\/span><\/li>\n<\/ul>\n<h2><b>CNAME Record Restrictions<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Though a <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\"> has its benefits, it also has some downsides. Below are a few restrictions on using a <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\">:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Never use a <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\"> for the root domain because the root level is the Start Of Authority <\/span><a href=\"https:\/\/easydmarc.com\/tools\/soa-record-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">(SOA record in DNS<\/span><\/a><span style=\"font-weight: 400;\">), and must point to an IP address.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">A <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\"> can\u2019t point to an IP address, only host names.\u00a0<\/span><\/li>\n<li><a href=\"https:\/\/easydmarc.com\/tools\/ns-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">NS records<\/span><\/a><span style=\"font-weight: 400;\"> or <\/span><a href=\"https:\/\/easydmarc.com\/blog\/what-is-dns-mx-record-and-how-to-check-it\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">DNS MX records<\/span><\/a> <span style=\"font-weight: 400;\">should never point to a <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Never place another type of DNS record (A, MX, etc.) in the same hostname defined in the CNAME record, except for DNSSEC records like NSEC and RRSIG.\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Domains for emails should not include a <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\">, as you might get undesirable results.\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">A <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"> can point to another Canonical name record, but it\u2019s not advisable.<\/span><\/span><\/li>\n<\/ul>\n<h2><b>CNAME vs. Alias<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">The Alias record is similar to the CNAME but has distinct properties. While the Alias record also connects a hostname to another hostname, it allows you to have other DNS records on the same hostname. This is not possible with a CNAME record.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Additionally, you can include an Alias record in the root domain, but not a CNAME record.. Using Alias records offers better performance than <\/span><b>CNAME records <\/b><span style=\"font-weight: 400;\">as the DNS resolver doesn\u2019t need to resolve another hostname to get the IP address. Nevertheless, Alias records still require a recursive lookup.<\/span><\/p>\n<h2><b>What are Linked Records?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Linked records can be any type of DNS records (CNAME, A, MX, etc.). However, they should be of a similar record type or they won\u2019t resolve. Unlike CNAME records, linked records require one less DNS lookup\u2014reducing the response time for the DNS resolver or the client to receive a reply. Using linked records prevents errors of manually creating and monitoring similar configuration settings across multiple records.<\/span><\/p>\n<h2><b>Summary<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">CNAME records are essential when using multiple domains, and you don\u2019t want to make an <\/span><a href=\"https:\/\/easydmarc.com\/tools\/a-record-lookup\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">A record<\/span><\/a> <span style=\"font-weight: 400;\">for each domain. This article has discussed the basics of CNAME records and how to create them. Remember that you can\u2019t point a CNAME record to the root domain or IP address.<br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>DNS records contain various instructions and information that &#8230;<\/p>\n","protected":false},"author":1,"featured_media":33252,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[306,205],"tags":[],"class_list":["post-28617","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dns-records","category-knowledge-base"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>What is a CNAME Record and How to Create It? | EasyDMARC<\/title>\n<meta name=\"description\" content=\"CNAME records are aliases that map one subdomain to another hostname. Read this guide to learn about CNAME records and how to create them.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is a CNAME Record and How to Create It?\" \/>\n<meta property=\"og:description\" content=\"CNAME records are aliases that map one subdomain to another hostname. Read this guide to learn about CNAME records and how to create them.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/\" \/>\n<meta property=\"og:site_name\" content=\"EasyDMARC\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/EasyDMARC\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-06T16:22:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-18T04:05:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/What-is-a-Cname-Record-and-How-to-Create-It_-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1441\" \/>\n\t<meta property=\"og:image:height\" content=\"910\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"EasyDMARC\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@easydmarc\" \/>\n<meta name=\"twitter:site\" content=\"@easydmarc\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"EasyDMARC\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/\"},\"author\":{\"name\":\"EasyDMARC\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/person\\\/449261e9810b270cc697c7c9c5b89e97\"},\"headline\":\"What is a CNAME Record and How to Create It?\",\"datePublished\":\"2022-07-06T16:22:19+00:00\",\"dateModified\":\"2026-03-18T04:05:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/\"},\"wordCount\":1129,\"publisher\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/What-is-a-Cname-Record-and-How-to-Create-It_-1.jpg\",\"articleSection\":[\"DNS Records\",\"Knowledge Base\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/\",\"name\":\"What is a CNAME Record and How to Create It? | EasyDMARC\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/What-is-a-Cname-Record-and-How-to-Create-It_-1.jpg\",\"datePublished\":\"2022-07-06T16:22:19+00:00\",\"dateModified\":\"2026-03-18T04:05:26+00:00\",\"description\":\"CNAME records are aliases that map one subdomain to another hostname. Read this guide to learn about CNAME records and how to create them.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/#primaryimage\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/What-is-a-Cname-Record-and-How-to-Create-It_-1.jpg\",\"contentUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/What-is-a-Cname-Record-and-How-to-Create-It_-1.jpg\",\"width\":1441,\"height\":910},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/what-is-a-cname-record-and-how-to-create-it\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/category\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"DNS Records\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/category\\\/knowledge-base\\\/dns-records\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"What is a CNAME Record and How to Create It?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/\",\"name\":\"EasyDMARC\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/#organization\",\"name\":\"EasyDMARC\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/img\\\/logo.png\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/EasyDMARC\\\/\",\"https:\\\/\\\/x.com\\\/easydmarc\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/easydmarc\\\/mycompany\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/person\\\/449261e9810b270cc697c7c9c5b89e97\",\"name\":\"EasyDMARC\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g\",\"caption\":\"EasyDMARC\"},\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/author\\\/easydmarc\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"What is a CNAME Record and How to Create It? | EasyDMARC","description":"CNAME records are aliases that map one subdomain to another hostname. Read this guide to learn about CNAME records and how to create them.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/","og_locale":"en_US","og_type":"article","og_title":"What is a CNAME Record and How to Create It?","og_description":"CNAME records are aliases that map one subdomain to another hostname. Read this guide to learn about CNAME records and how to create them.","og_url":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/","og_site_name":"EasyDMARC","article_publisher":"https:\/\/www.facebook.com\/EasyDMARC\/","article_published_time":"2022-07-06T16:22:19+00:00","article_modified_time":"2026-03-18T04:05:26+00:00","og_image":[{"width":1441,"height":910,"url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/What-is-a-Cname-Record-and-How-to-Create-It_-1.jpg","type":"image\/jpeg"}],"author":"EasyDMARC","twitter_card":"summary_large_image","twitter_creator":"@easydmarc","twitter_site":"@easydmarc","twitter_misc":{"Written by":"EasyDMARC","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/#article","isPartOf":{"@id":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/"},"author":{"name":"EasyDMARC","@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/person\/449261e9810b270cc697c7c9c5b89e97"},"headline":"What is a CNAME Record and How to Create It?","datePublished":"2022-07-06T16:22:19+00:00","dateModified":"2026-03-18T04:05:26+00:00","mainEntityOfPage":{"@id":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/"},"wordCount":1129,"publisher":{"@id":"https:\/\/easydmarc.com\/blog\/#organization"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/#primaryimage"},"thumbnailUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/What-is-a-Cname-Record-and-How-to-Create-It_-1.jpg","articleSection":["DNS Records","Knowledge Base"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/","url":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/","name":"What is a CNAME Record and How to Create It? | EasyDMARC","isPartOf":{"@id":"https:\/\/easydmarc.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/#primaryimage"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/#primaryimage"},"thumbnailUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/What-is-a-Cname-Record-and-How-to-Create-It_-1.jpg","datePublished":"2022-07-06T16:22:19+00:00","dateModified":"2026-03-18T04:05:26+00:00","description":"CNAME records are aliases that map one subdomain to another hostname. Read this guide to learn about CNAME records and how to create them.","breadcrumb":{"@id":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/#primaryimage","url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/What-is-a-Cname-Record-and-How-to-Create-It_-1.jpg","contentUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/What-is-a-Cname-Record-and-How-to-Create-It_-1.jpg","width":1441,"height":910},{"@type":"BreadcrumbList","@id":"https:\/\/easydmarc.com\/blog\/what-is-a-cname-record-and-how-to-create-it\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/easydmarc.com\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/easydmarc.com\/blog\/category\/knowledge-base\/"},{"@type":"ListItem","position":3,"name":"DNS Records","item":"https:\/\/easydmarc.com\/blog\/category\/knowledge-base\/dns-records\/"},{"@type":"ListItem","position":4,"name":"What is a CNAME Record and How to Create It?"}]},{"@type":"WebSite","@id":"https:\/\/easydmarc.com\/blog\/#website","url":"https:\/\/easydmarc.com\/blog\/","name":"EasyDMARC","description":"Blog","publisher":{"@id":"https:\/\/easydmarc.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/easydmarc.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/easydmarc.com\/#organization","name":"EasyDMARC","url":"https:\/\/easydmarc.com\/","logo":{"@type":"ImageObject","url":"https:\/\/easydmarc.com\/img\/logo.png"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/EasyDMARC\/","https:\/\/x.com\/easydmarc","https:\/\/www.linkedin.com\/company\/easydmarc\/mycompany\/"]},{"@type":"Person","@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/person\/449261e9810b270cc697c7c9c5b89e97","name":"EasyDMARC","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fcbf1ca829f8e0977fce524da20caa8a528368d0909ce48741526046e5113259?s=96&r=g","caption":"EasyDMARC"},"url":"https:\/\/easydmarc.com\/blog\/author\/easydmarc\/"}]}},"jetpack_featured_media_url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2022\/07\/What-is-a-Cname-Record-and-How-to-Create-It_-1.jpg","_links":{"self":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/28617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/comments?post=28617"}],"version-history":[{"count":6,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/28617\/revisions"}],"predecessor-version":[{"id":59850,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/28617\/revisions\/59850"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/media\/33252"}],"wp:attachment":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/media?parent=28617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/categories?post=28617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/tags?post=28617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}