{"id":778,"date":"2020-10-14T17:37:17","date_gmt":"2020-10-14T14:37:17","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=778"},"modified":"2024-02-06T11:25:15","modified_gmt":"2024-02-06T09:25:15","slug":"how-to-add-a-dns-a-record","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/how-to-add-a-dns-a-record\/","title":{"rendered":"How to Add a DNS A record"},"content":{"rendered":"\n<p><span style=\"font-weight: 400;\">We all know how important it is for your domain to resolve correctly, but we rarely think about what goes on when we <\/span><b>enter a domain name<\/b><span style=\"font-weight: 400;\"> into the address bar of our browser and hit Enter. First, your browser connects to the <\/span><b>domain&#8217;s nameservers<\/b><span style=\"font-weight: 400;\">. The nameservers check the <\/span><a href=\"https:\/\/www.scalahosting.com\/kb\/hosting\/dns\/\"><b>domain&#8217;s DNS records<\/b><\/a><span style=\"font-weight: 400;\"> and return the IP address of the <\/span><b>server hosting the website<\/b><span style=\"font-weight: 400;\">. From then on, it&#8217;s up to the server to serve the correct content.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">It seems like a pretty straightforward system that doesn&#8217;t need much in the way of further configuration. <\/span><b>Considering how many different websites there are out there<\/b><span style=\"font-weight: 400;\">, however, you probably won&#8217;t be too surprised to learn that some projects require additional configuration. That&#8217;s why most hosting providers will <\/span><b>give you the chance to change the DNS records themselves <\/b><span style=\"font-weight: 400;\">if the nameservers are correctly set.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Different types of DNS records serve different purposes. A <\/span><b>CNAME record<\/b><span style=\"font-weight: 400;\">, for example, is often used to ensure that both <\/span><b><i>www.domain.com <\/i><\/b><b>and <\/b><b><i>domain.com<\/i><\/b><span style=\"font-weight: 400;\"> present the same content. <\/span><b>MX records <\/b><span style=\"font-weight: 400;\">determine which server will process your email communication. When it comes to the delivery of webpages, however, the most important <\/span><b>DNS record is the<\/b> <b>A record<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">The <\/span><b>A <\/b><span style=\"font-weight: 400;\">in <\/span><b>A record<\/b><span style=\"font-weight: 400;\"> stands for &#8220;address,&#8221; and its job is to connect the human-readable domain or subdomain to a valid IP address. <\/span><b>A records have multiple purposes<\/b><span style=\"font-weight: 400;\">. You can, for example, set more than one A record for the same domain for redundancy, and you can also host different sections of your website on different servers by <\/span><b>setting A records for your subdomains<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Setting a new A record through SPanel<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Users of<\/span> <a href=\"https:\/\/www.scalahosting.com\/managed-cloud-hosting.html\"><b>Scala Hosting&#8217;s Managed VPS solutions<\/b><\/a><span style=\"font-weight: 400;\"> can configure the DNS records of their domain names through SPanel. Here&#8217;s what you need to do:<\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Log into SPanel&#8217;s User Interface.<\/strong><br>The default login URL is <em><strong>https:\/\/yourdomain.com\/spanel\/ <\/strong><\/em>(don&#8217;t forget to replace <em>yourdomain.com<\/em> with your actual domain).<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"453\" height=\"456\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40.png\" alt=\"How to Add a DNS A record, Setting a new A record through SPanel\" class=\"wp-image-2898\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40.png 453w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40-298x300.png 298w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40-150x150.png 150w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li><strong>Open the DNS editor.<\/strong><br>The DNS editor is available under the <strong>Domains<\/strong> section, and it lets you control your domain&#8217;s DNS records.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"848\" height=\"163\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/323.png\" alt=\"How to Add a DNS A record, Setting a new A record through SPanel 2\" class=\"wp-image-3947\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/323.png 848w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/323-300x58.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/323-768x148.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li><strong>Add the new A record.<\/strong><br>Below the drop-down that lets you pick the domain you want to edit, you have the utility for adding new DNS records.<br><span style=\"font-weight: 400;\">To add a new A record, you first need to enter the domain or subdomain in the <\/span><b>Name <\/b><span style=\"font-weight: 400;\">field. Note that if you want to add a DNS record for a subdomain, you don&#8217;t need to enter the parent domain into the field (i.e., if you want to set an A record for <\/span><i><span style=\"font-weight: 400;\">blog.domain.com<\/span><\/i><span style=\"font-weight: 400;\">, you only need to write <\/span><i><span style=\"font-weight: 400;\">blog<\/span><\/i><span style=\"font-weight: 400;\"> into the field). Next, you need to determine the <\/span><b>Type<\/b><span style=\"font-weight: 400;\"> of record you&#8217;re going to set (an A record in our case) and the <\/span><b>TTL<\/b><span style=\"font-weight: 400;\"> (or Time to Live).<\/span><br><span style=\"font-weight: 400;\">TTL, in this case, determines the amount of time (in seconds) a record spends in the DNS cache. Propagation times are dependent on a number of different factors, but generally speaking, the lower the TTL, the quicker the changes will be reflected throughout the world. Bear in mind, however, that if you set the TTL too low, you could put load on the nameservers, and your website&#8217;s performance could suffer.<\/span><br><span style=\"font-weight: 400;\">Finally, in the <\/span><b>Value<\/b><span style=\"font-weight: 400;\"> field, you need to enter the IPv4 address you&#8217;d like to point your domain\/subdomain to. After you&#8217;re ready, click the <\/span><b>Add Record<\/b><span style=\"font-weight: 400;\"> button to complete the process.<\/span><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"254\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/324-1024x254.png\" alt=\"How to Add a DNS A record, Setting a new A record through SPanel 3\" class=\"wp-image-3948\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/324-1024x254.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/324-300x74.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/324-768x190.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/324.png 1271w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<p><span style=\"font-weight: 400;\">The new record will appear in the list below immediately, but you <\/span><b>need to bear in mind that DNS settings need time to propagate throughout the world<\/b><span style=\"font-weight: 400;\">. In most cases, the propagation is complete after a few hours, but it could sometimes take longer. If the domain doesn&#8217;t resolve correctly after 48 hours, chances are, the problem is not with the propagation.<\/span><\/p>\n\n\n\n<p class=\"youtube-player\" id=\"LyZV6UMiHag\">How to Add a DNS A record<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n{\n\"@context\": \"https:\/\/schema.org\",\n\"@type\": \"VideoObject\",\n\"name\": \"How to Add a DNS A record\",\n\"description\": \"Users of Scala Hosting\u2019s Managed VPS solutions can configure the DNS records of their domain names through SPanel.\",\n\"thumbnailUrl\": [\n\"https:\/\/i3.ytimg.com\/vi\/LyZV6UMiHag\/maxresdefault.jpg\"\n],\n\"uploadDate\": \"2020-01-04\",\n\"duration\": \"PT1M13S\",\n\"embedUrl\": \"https:\/\/www.youtube.com\/watch?v=LyZV6UMiHag\"\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>We all know how important it is for your domain to resolve correctly, but we rarely think about what goes on when we enter a domain name into the address bar of our browser and hit Enter. First, your browser connects to the domain&#8217;s nameservers. The nameservers check the domain&#8217;s DNS records and return the [&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":"none","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_analysis_target_kw":"","footnotes":""},"categories":[66],"tags":[],"class_list":["post-778","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/778","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=778"}],"version-history":[{"count":8,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/778\/revisions"}],"predecessor-version":[{"id":5698,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/778\/revisions\/5698"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}