{"id":3802,"date":"2026-07-22T16:17:47","date_gmt":"2026-07-22T16:17:47","guid":{"rendered":"https:\/\/disoh.com\/support\/what-is-a-cname-record-and-when-should-you-use-one\/"},"modified":"2026-07-22T16:17:47","modified_gmt":"2026-07-22T16:17:47","password":"","slug":"what-is-a-cname-record-and-when-should-you-use-one","status":"publish","type":"docs","link":"https:\/\/disoh.com\/sv\/support\/what-is-a-cname-record-and-when-should-you-use-one\/","title":{"rendered":"What Is a CNAME Record and When Should You Use One?"},"content":{"rendered":"<p>A CNAME record (Canonical Name record) is a type of DNS entry that points one domain name to another domain name, rather than to an IP address. Think of it as an alias: instead of saying &#8220;this name lives at this IP&#8221;, a CNAME says &#8220;this name is really just another name for that one&#8221;. CNAME records are extremely common when connecting third-party services to your domain.<\/p>\n<h2>How a CNAME differs from an A record<\/h2>\n<p>The key difference is what each record points to. An A record maps a name directly to a numeric IP address, while a CNAME maps a name to another hostname, which is then resolved to an IP. This matters because if the target&#8217;s IP ever changes, a CNAME keeps working automatically, whereas an A record would need updating. In short:<\/p>\n<ul>\n<li><strong>A record:<\/strong> name to IP address (for example, yourdomain.com to 192.0.2.10).<\/li>\n<li><strong>CNAME:<\/strong> name to another name (for example, www.yourdomain.com to yourdomain.com).<\/li>\n<\/ul>\n<h2>Common uses for CNAME records<\/h2>\n<ul>\n<li><strong>The www version:<\/strong> pointing www.yourdomain.com to your root domain.<\/li>\n<li><strong>Third-party tools:<\/strong> connecting services like email marketing platforms, help desks, or website builders that ask you to add a CNAME.<\/li>\n<li><strong>Verification:<\/strong> some providers use a CNAME to confirm you own the domain.<\/li>\n<li><strong>Subdomains for external services:<\/strong> pointing shop.yourdomain.com to a hosted store platform.<\/li>\n<\/ul>\n<h2>How to add a CNAME record<\/h2>\n<ul>\n<li>Log in to your DNS manager or control panel.<\/li>\n<li>Open the <strong>DNS<\/strong> or <strong>Zone Editor<\/strong> section.<\/li>\n<li>Create a new <strong>CNAME<\/strong> record.<\/li>\n<li>Enter the subdomain name in the host field (for example, <em>www<\/em> or <em>shop<\/em>).<\/li>\n<li>Enter the target hostname in the value field, exactly as the service provided.<\/li>\n<li>Save and allow time for propagation.<\/li>\n<\/ul>\n<h2>Important rules to remember<\/h2>\n<p>There are a couple of limits worth knowing. A CNAME cannot be used on the root domain (the bare &#8220;yourdomain.com&#8221;) in standard DNS, so the root normally uses an A record while &#8220;www&#8221; uses a CNAME. Also, a hostname that has a CNAME should not have other records of the same name, as this causes conflicts.<\/p>\n<h2>Troubleshooting<\/h2>\n<ul>\n<li><strong>Service not verifying:<\/strong> confirm the target value matches exactly, with no trailing typos.<\/li>\n<li><strong>Conflict errors:<\/strong> remove any duplicate records for the same host.<\/li>\n<li><strong>Not resolving yet:<\/strong> allow time for propagation and re-check with a DNS lookup.<\/li>\n<\/ul>\n<h2>Need help?<\/h2>\n<p>If a third-party service is asking for a CNAME and you are unsure where to put it, our support team can add it correctly for you over live chat.<\/p>","protected":false},"excerpt":{"rendered":"<p>A CNAME record (Canonical Name record) is a type of DNS entry that points one domain name to another domain name, rather than to an IP address. Think of it as an alias: instead of saying &#8220;this name lives at this IP&#8221;, a CNAME says &#8220;this name is really just another name for that one&#8221;. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[13],"doc_tag":[],"class_list":["post-3802","docs","type-docs","status-publish","hentry","doc_category-domains"],"year_month":"2026-07","word_count":408,"total_views":"23","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Jorn","author_nicename":"jorn","author_url":"https:\/\/disoh.com\/sv\/author\/jorn\/"},"doc_category_info":[{"term_name":"Domains","term_url":"https:\/\/disoh.com\/sv\/docs-category\/domains\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What Is a CNAME Record and When Should You Use One? &#8211; Disoh<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/disoh.com\/sv\/support\/what-is-a-cname-record-and-when-should-you-use-one\/\" \/>\n<meta property=\"og:locale\" content=\"sv_SE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is a CNAME Record and When Should You Use One? &#8211; Disoh\" \/>\n<meta property=\"og:description\" content=\"A CNAME record (Canonical Name record) is a type of DNS entry that points one domain name to another domain name, rather than to an IP address. Think of it as an alias: instead of saying &#8220;this name lives at this IP&#8221;, a CNAME says &#8220;this name is really just another name for that one&#8221;. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/disoh.com\/sv\/support\/what-is-a-cname-record-and-when-should-you-use-one\/\" \/>\n<meta property=\"og:site_name\" content=\"Disoh\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/disohhosting\" \/>\n<meta property=\"og:image\" content=\"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Ber\u00e4knad l\u00e4stid\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minuter\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/what-is-a-cname-record-and-when-should-you-use-one\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/support\\\/what-is-a-cname-record-and-when-should-you-use-one\\\/\",\"name\":\"What Is a CNAME Record and When Should You Use One? &#8211; Disoh\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#website\"},\"datePublished\":\"2026-07-22T16:17:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/what-is-a-cname-record-and-when-should-you-use-one\\\/#breadcrumb\"},\"inLanguage\":\"sv-SE\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/disoh.com\\\/support\\\/what-is-a-cname-record-and-when-should-you-use-one\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/what-is-a-cname-record-and-when-should-you-use-one\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/disoh.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Is a CNAME Record and When Should You Use One?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#website\",\"url\":\"https:\\\/\\\/disoh.com\\\/\",\"name\":\"Disoh\",\"description\":\"Digital Solutions Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/disoh.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"sv-SE\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#organization\",\"name\":\"Disoh LLC\",\"url\":\"https:\\\/\\\/disoh.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"sv-SE\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"contentUrl\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"width\":615,\"height\":615,\"caption\":\"Disoh LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/disohhosting\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Is a CNAME Record and When Should You Use One? &#8211; Disoh","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:\/\/disoh.com\/sv\/support\/what-is-a-cname-record-and-when-should-you-use-one\/","og_locale":"sv_SE","og_type":"article","og_title":"What Is a CNAME Record and When Should You Use One? &#8211; Disoh","og_description":"A CNAME record (Canonical Name record) is a type of DNS entry that points one domain name to another domain name, rather than to an IP address. Think of it as an alias: instead of saying &#8220;this name lives at this IP&#8221;, a CNAME says &#8220;this name is really just another name for that one&#8221;. [&hellip;]","og_url":"https:\/\/disoh.com\/sv\/support\/what-is-a-cname-record-and-when-should-you-use-one\/","og_site_name":"Disoh","article_publisher":"https:\/\/www.facebook.com\/disohhosting","og_image":[{"width":1536,"height":1024,"url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Ber\u00e4knad l\u00e4stid":"2 minuter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/disoh.com\/support\/what-is-a-cname-record-and-when-should-you-use-one\/","url":"https:\/\/disoh.com\/support\/what-is-a-cname-record-and-when-should-you-use-one\/","name":"What Is a CNAME Record and When Should You Use One? &#8211; Disoh","isPartOf":{"@id":"https:\/\/disoh.com\/#website"},"datePublished":"2026-07-22T16:17:47+00:00","breadcrumb":{"@id":"https:\/\/disoh.com\/support\/what-is-a-cname-record-and-when-should-you-use-one\/#breadcrumb"},"inLanguage":"sv-SE","potentialAction":[{"@type":"ReadAction","target":["https:\/\/disoh.com\/support\/what-is-a-cname-record-and-when-should-you-use-one\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/disoh.com\/support\/what-is-a-cname-record-and-when-should-you-use-one\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/disoh.com\/"},{"@type":"ListItem","position":2,"name":"What Is a CNAME Record and When Should You Use One?"}]},{"@type":"WebSite","@id":"https:\/\/disoh.com\/#website","url":"https:\/\/disoh.com\/","name":"Disoh","description":"Digitala l\u00f6sningar \u2013 webbhotell","publisher":{"@id":"https:\/\/disoh.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/disoh.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"sv-SE"},{"@type":"Organization","@id":"https:\/\/disoh.com\/#organization","name":"Disoh LLC","url":"https:\/\/disoh.com\/","logo":{"@type":"ImageObject","inLanguage":"sv-SE","@id":"https:\/\/disoh.com\/#\/schema\/logo\/image\/","url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","contentUrl":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","width":615,"height":615,"caption":"Disoh LLC"},"image":{"@id":"https:\/\/disoh.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/disohhosting"]}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/disoh.com\/sv\/wp-json\/wp\/v2\/docs\/3802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/disoh.com\/sv\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/disoh.com\/sv\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/disoh.com\/sv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/disoh.com\/sv\/wp-json\/wp\/v2\/comments?post=3802"}],"version-history":[{"count":0,"href":"https:\/\/disoh.com\/sv\/wp-json\/wp\/v2\/docs\/3802\/revisions"}],"wp:attachment":[{"href":"https:\/\/disoh.com\/sv\/wp-json\/wp\/v2\/media?parent=3802"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/disoh.com\/sv\/wp-json\/wp\/v2\/doc_category?post=3802"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/disoh.com\/sv\/wp-json\/wp\/v2\/doc_tag?post=3802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}