{"id":764,"date":"2026-03-24T18:16:56","date_gmt":"2026-03-24T18:16:56","guid":{"rendered":"https:\/\/cloudabove.com\/help\/how-to-add-a-dns-a-record-for-a-subdomain\/"},"modified":"2026-03-25T15:32:22","modified_gmt":"2026-03-25T15:32:22","slug":"how-to-add-a-dns-a-record-for-a-subdomain","status":"publish","type":"post","link":"https:\/\/cloudabove.com\/help\/how-to-add-a-dns-a-record-for-a-subdomain\/","title":{"rendered":"How to Add a DNS A Record for a Subdomain"},"content":{"rendered":"\n<p>When you set up a subdomain &#8211; such as <code>clone.yourdomain.com<\/code> or <code>staging.yourdomain.com<\/code> for example, you need to create a <strong>DNS A record<\/strong> to point it to the correct server. This guide explains what an A record is and how to add one.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is a DNS A Record?<\/h2>\n\n\n\n<p>A <strong>DNS A record<\/strong> (Address record) maps a domain name or subdomain to a specific IP address. It&#8217;s what tells the internet where to send visitors when they type your address into a browser.<\/p>\n\n\n\n<p>For example, if your server&#8217;s IP address is <code>192.0.2.1<\/code>, creating an A record for <code>clone.yourdomain.com<\/code> pointing to <code>192.0.2.1<\/code> means anyone visiting that subdomain will be directed to your server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where Do I Manage DNS?<\/h2>\n\n\n\n<p>DNS is most commonly managed through the <strong>registrar where you registered your domain<\/strong>. Log into your registrar&#8217;s control panel and look for a section called <strong>DNS Management<\/strong>, <strong>DNS Settings<\/strong>, or <strong>Zone Editor<\/strong>.<\/p>\n\n\n\n<p>Some hosting providers also manage DNS on your behalf \u2014 if you&#8217;re unsure, check with whoever hosts your website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What You&#8217;ll Need<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Access to your DNS management panel<\/li>\n\n\n\n<li>The <strong>subdomain prefix<\/strong> you want to use \u2014 e.g. <code>clone<\/code>, <code>dev<\/code>, or <code>staging<\/code><\/li>\n\n\n\n<li>The <strong>IP address<\/strong> of your server (if unsure, we can help supply this to you)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to Add the A Record<\/h2>\n\n\n\n<p>The exact steps will vary slightly depending on your DNS provider, but the process is broadly the same everywhere:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Log in<\/strong> to your domain registrar or DNS management panel.<\/li>\n\n\n\n<li>Navigate to the <strong>DNS settings<\/strong> for your domain.<\/li>\n\n\n\n<li>Look for an option to <strong>Add a record<\/strong> or <strong>Add new DNS record<\/strong>.<\/li>\n\n\n\n<li>Set the <strong>record type<\/strong> to <strong>A<\/strong>.<\/li>\n\n\n\n<li>In the <strong>Host<\/strong> or <strong>Name<\/strong> field, enter just the subdomain prefix \u2014 for example, <code>clone<\/code>. Some providers require the full subdomain (<code>clone.yourdomain.com<\/code>); others just want the prefix (<code>clone<\/code>).<\/li>\n\n\n\n<li>In the <strong>Value<\/strong> or <strong>Points to<\/strong> field, enter your <strong>server&#8217;s IP address<\/strong>.<\/li>\n\n\n\n<li>Set the <strong>TTL<\/strong> (Time to Live) \u2014 the default value is fine if you&#8217;re unsure. A common value is <code>3600<\/code> (1 hour).<\/li>\n\n\n\n<li><strong>Save<\/strong> the record.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Example<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Type<\/strong><\/td><td><strong>Host \/ Name<\/strong><\/td><td><strong>Value \/ Destination<\/strong><\/td><td><strong>TTL<\/strong><\/td><\/tr><tr><td>A<\/td><td>staging<\/td><td>x.x.x.x (your servers IP)<\/td><td>3600<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The prefix can be anything you like &#8211; <code>clone<\/code>, <code>dev<\/code>, <code>staging<\/code>, <code>test<\/code>, and so on. Just make sure you use the same prefix when setting up your hosting or cloning your site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Long Does It Take?<\/h2>\n\n\n\n<p>DNS changes can take anywhere from a few minutes to 48 hours to fully propagate across the internet, though in most cases it&#8217;s much faster \u2014 often under an hour. This is normal and nothing to be concerned about.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you set up a subdomain &#8211; such as clone.yourdomain.com or staging.yourdomain.com for example, you need to create a DNS A record to point it to the correct server. This guide explains what an A record is and how to add one. What is a DNS A Record? A DNS&hellip;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-764","post","type-post","status-publish","format-standard","hentry","category-domains"],"_links":{"self":[{"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/posts\/764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/comments?post=764"}],"version-history":[{"count":0,"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/posts\/764\/revisions"}],"wp:attachment":[{"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/media?parent=764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/categories?post=764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/tags?post=764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}