{"id":1938,"date":"2021-06-01T10:09:44","date_gmt":"2021-06-01T07:09:44","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=1938"},"modified":"2022-03-17T17:35:46","modified_gmt":"2022-03-17T15:35:46","slug":"how-to-create-a-and-cname-records","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/how-to-create-a-and-cname-records\/","title":{"rendered":"How to Create A and CNAME Records?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">In the <\/span><a href=\"https:\/\/www.scalahosting.com\/kb\/what-is-dns\/\"><b>Domain Name System<\/b><\/a><span style=\"font-weight: 400;\"> (DNS), an A Record points a domain or a subdomain to a known IP address, whereas a CNAME points to another domain but not an IP address.\u00a0<\/span><\/p>\n<p><b>You should use a CNAME record when you want to:<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Point an old domain name to a <\/span><b>new domain name.<\/b><span style=\"font-weight: 400;\"> For instance, from mydomain.com to mydomain.org.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Map a subdomain to the parent domain<\/span><b> hosting that subdomain\u2019s content<\/b><span style=\"font-weight: 400;\">. Make sure there are no other DNS records with that name.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">This article will walk you through the process of creating a new A and CNAME record on <\/span><a href=\"https:\/\/www.scalahosting.com\/spanel.html\"><b>SPanel.<\/b><\/a><\/p>\n<h2><b>Step by Step Guide to Create an A Record in SPanel<\/b><b><\/b><\/h2>\n<h3><b>Step 1: Sign in to Your SPanel Account<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The first step is to <\/span><b>log in to your SPanel dashboard<\/b><span style=\"font-weight: 400;\"> using this URL &#8211; <\/span><b>mydomain.com\/spanel\/login<\/b><span style=\"font-weight: 400;\">, where \u201cmydomain\u201d means your domain name.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Enter your username or registered email and password, then click <\/span><b>Login.<\/b><\/p>\n<h3><b>Step 2: Navigate to Domains<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The next page is your SPanel admin dashboard. Head over to <\/span><b>Domains, <\/b><span style=\"font-weight: 400;\">and click the <\/span><b>DNS Editor<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1942\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image4-1.jpg\" alt=\"How to Create A and CNAME Records?, Step 2: Navigate to Domains\" width=\"697\" height=\"366\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image4-1.jpg 697w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image4-1-300x158.jpg 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">This DNS Editor enables you to add, modify or delete existing <\/span><a href=\"https:\/\/www.scalahosting.com\/kb\/dns-records-explained\/\"><b>DNS records<\/b><\/a><span style=\"font-weight: 400;\"> of any of your domains.<\/span><\/p>\n<h3><b>Step 3: Add the New A Record<\/b><\/h3>\n<p><b>Under Add a New Record, fill in these parameters correctly :<\/b><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1940\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image2-1.jpg\" alt=\"How to Create A and CNAME Records?, Step 3: Add the New A Record\" width=\"697\" height=\"366\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image2-1.jpg 697w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image2-1-300x158.jpg 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Name: <\/b><span style=\"font-weight: 400;\">Enter the preferred name you want to use for the DNS record<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>TTL: <\/b><span style=\"font-weight: 400;\">This stands for time to live and represents how long to keep a DNS record in seconds. We recommend you leave<\/span><b> the default value on SPanel (14400)<\/b><span style=\"font-weight: 400;\"> if you\u2019re not sure what to put.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Type: <\/b><span style=\"font-weight: 400;\">Set the <\/span><b>Type<\/b><span style=\"font-weight: 400;\"> parameter to <\/span><b>\u201cA.\u201d<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Value: <\/b><span style=\"font-weight: 400;\">Put in the IP Address you want to point the A Record to.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">When you\u2019ve filled in the correct values, click <\/span><b>Add Record<\/b><span style=\"font-weight: 400;\"> to save the new A record.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">And that\u2019s how you create a New A Record for your domain<\/span><b>.<\/b><span style=\"font-weight: 400;\"> Now, let\u2019s explore the steps to create a new CNAME Record.<\/span><\/p>\n<h2><b>Step by Step Guide to Create a CNAME Record in SPanel<\/b><\/h2>\n<h3><b>Step 1: Sign in to SPanel&#8217;s User Interface<br \/>\n<\/b><\/h3>\n<p>You can control your domain&#8217;s DNS zones through SPanel&#8217;s User Interface, so that&#8217;s where you need to start.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1941\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image3-1.jpg\" alt=\"How to Create A and CNAME Records?, Step by Step Guide to Create a CNAME Record in SPanel\" width=\"656\" height=\"477\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image3-1.jpg 656w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image3-1-300x218.jpg 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/p>\n<h3><b>Step 2: Navigate to Domains<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">On your SPanel dashboard, go to <\/span><b>Domains <\/b><span style=\"font-weight: 400;\">and click the <\/span><b>DNS Editor<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1942\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image4-1.jpg\" alt=\"How to Create A and CNAME Records?, Step 2: Navigate to Domains\" width=\"697\" height=\"366\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image4-1.jpg 697w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image4-1-300x158.jpg 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">This DNS Editor allows you to <\/span><b>update or delete existing DNS records<\/b><span style=\"font-weight: 400;\"> for any of your domains.<\/span><\/p>\n<h3><b>Step 3: Add the New CNAME Record<\/b><\/h3>\n<p><b>As with the A Record; under \u201cAdd a New Record,\u201d fill in these parameters correctly:<\/b><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1939\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image1-1.jpg\" alt=\"How to Create A and CNAME Records?, Step 3: Add the New CNAME Record\" width=\"695\" height=\"389\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image1-1.jpg 695w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image1-1-300x168.jpg 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Name: <\/b><span style=\"font-weight: 400;\">Put in the preferred name you want to use for the <\/span><b>CNAME DNS record.<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>TTL: <\/b><span style=\"font-weight: 400;\">Enter a time to live value. You should leave the default value on SPanel (14400) if you\u2019re unsure what to put.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Type: <\/b><span style=\"font-weight: 400;\">Set the <\/span><b>Type<\/b><span style=\"font-weight: 400;\"> parameter to <\/span><b>\u201cCNAME.\u201d<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Value: <\/b><span style=\"font-weight: 400;\">Enter the domain name you want to point the CNAME Record to.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">After you fill in the correct values, click <\/span><b>Add Record<\/b><span style=\"font-weight: 400;\"> to save the new CNAME record. The new CNAME\u00a0 record joins the list of<\/span> <span style=\"font-weight: 400;\">DNS records on that page.<\/span><\/p>\n<h2><b>How to Edit Existing A and CNAME Records?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">If you have <\/span><b>multiple domains linked to your hosting account,<\/b><span style=\"font-weight: 400;\"> you can also modify or update their A and CNAME records in the DNS editor as well. Here\u2019s how.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Go to the<\/span><b> list of available DNS records <\/b><span style=\"font-weight: 400;\">down the page and hop over to the DNS Record you want to edit. Click on the blue <\/span><b>Edit<\/b><span style=\"font-weight: 400;\"> button on the right, and modify the value as you wish.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-1943\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image5-1.jpg\" alt=\"How to Create A and CNAME Records?, How to Edit Existing A and CNAME Records?\" width=\"852\" height=\"109\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image5-1.jpg 852w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image5-1-300x38.jpg 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image5-1-768x98.jpg 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/span><span style=\"font-weight: 400;\">When you\u2019re done, click <\/span><b>Save,<\/b><span style=\"font-weight: 400;\"> and that\u2019s it.<\/span><\/p>\n<h2><b>Need Help?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Please reach out to <\/span><a href=\"https:\/\/www.scalahosting.com\/contact-us.html\"><b>our technical support team<\/b><\/a><span style=\"font-weight: 400;\"> to help you with any issues you might encounter with creating new CNAME and A records on your SPanel.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Domain Name System (DNS), an A Record points a domain or a subdomain to a known IP address, whereas a CNAME points to another domain but not an IP address.\u00a0 You should use a CNAME record when you want to: Point an old domain name to a new domain name. For instance, from [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":""},"categories":[22],"tags":[],"class_list":["post-1938","post","type-post","status-publish","format-standard","hentry","category-dns"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=1938"}],"version-history":[{"count":5,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1938\/revisions"}],"predecessor-version":[{"id":4096,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1938\/revisions\/4096"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=1938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=1938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=1938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}