{"id":15885,"date":"2024-09-02T10:40:18","date_gmt":"2024-09-02T09:40:18","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=15885"},"modified":"2024-09-02T10:40:19","modified_gmt":"2024-09-02T09:40:19","slug":"nameserver-for-subdomain","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/","title":{"rendered":"Nameserver For Subdomain"},"content":{"rendered":"\n<p>DNS is the core of the internet, which turns domain names into IP addresses. The fundamental aspect of DNS is the capability to add NameServer or NS records for a subdomain.<\/p>\n\n\n\n<p>The process of setting up a nameserver for a subdomain is an important step in simplifying your domain\u2019s DNS configurations. Irrespective of whether you\u2019re allotting a subdomain for a particular service, like a blog, online store, or for business purposes, correctly setting up a nameserver is necessary.<\/p>\n\n\n\n<p>In this article, we\u2019ll help you understand how to add an NS record for a subdomain so that you can effectively manage your online presence.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Adding an NS Record for a Subdomain<\/h2>\n\n\n\n<p><em>To use different name servers for a subdomain, you will need to follow these steps:<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Create the Subdomain<\/h3>\n\n\n\n<p>In your domain registrar or DNS management interface, create the subdomain you wish to use. For instance, assume that your main domain is xyz.com and you wish to create a subdomain, named sub.xyz.com, then create it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Set Up Delegation<\/h3>\n\n\n\n<p>In order to employ different NS records for your subdomain, you\u2019re required to delegate DNS management for that particular subdomain to the new name servers. It is done by adding Name Server (NS) records for the particular subdomain in the DNS settings of your main domain.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Look for the DNS settings for your main domain (xyz.com)<\/li>\n\n\n\n<li>Add NS records for the subdomain (sub.xyz.com). Ensure that the NS records are pointing toward the name servers that you wish to use<\/li>\n<\/ul>\n\n\n\n<p><strong>For example<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>sub.xyz.com. IN NS ns1.otherdns.com<\/li>\n\n\n\n<li>sub.xyz.com. IN NS ns2.otherdns.com<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. Configure the New Name Servers<\/h3>\n\n\n\n<p>Configure the DNS records for the subdomain on the delegated name servers. This includes A records, CNAME records, MX records, etc., as needed for your subdomain.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Propagation<\/h3>\n\n\n\n<p>Once you make these changes, it usually takes up to 48 hours for the DNS changes to propagate throughout the internet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Example Scenario<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Main Domain Setup<\/h3>\n\n\n\n<p>&#8211; <strong>Domain: <\/strong>xyz.com<\/p>\n\n\n\n<p>&#8211; NS records for xyz.com might be:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>xyz.com. IN NS ns1.maindns.com<\/li>\n\n\n\n<li>xyz.com. IN NS ns2.maindns.com<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Subdomain Delegation<\/h3>\n\n\n\n<p><strong>&#8211; <\/strong>Add NS records for sub.xyz.com:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>sub.xyz.com. IN NS ns1.otherdns.com<\/li>\n\n\n\n<li>sub.xyz.com. IN NS ns2.otherdns.com<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. Subdomain DNS Setup<\/h3>\n\n\n\n<p>&#8211; On ns1.otherdns.com and ns2.otherdns.com, configure DNS records for sub.xyz.com as needed (e.g., A record pointing to an IP address).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Important Considerations<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>TTL (Time-to-Live) Setup:<\/strong> Customize Time-to-Live (TTL) configurations as per your requirements for faster updates or caching.<\/li>\n\n\n\n<li><strong>Domain Registrar: <\/strong>Some registrars may have specific interfaces or requirements for setting up NS records, so consult their documentation.<\/li>\n\n\n\n<li><strong>Testing:<\/strong> Use tools like dig or online DNS lookup tools to verify that the delegation is set up correctly and that the subdomain resolves as expected.<\/li>\n<\/ul>\n\n\n\n<p>Using these steps, you can effortlessly handle a subdomain with the help of multiple name servers from the main domain.<\/p>\n\n\n\n<div class=\"vlt-box \">\n<div class=\"box-title\" style=\"background:#D5EAFF; color:#000\">Conclusion<\/div>\n<div class=\"box-content\">\n<p>Configuring an NS record for a subdomain is a simple and easy process that improves domain management and system functionality. By properly setting up the nameservers, you can make sure that your subdomain works efficiently, offering a more customized and satisfying user experience. If you\u2019re handling several subdomains or want to streamline your domain configuration, knowing this process is important to maintain a strong and well-coordinated online presence.<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>DNS is the core of the internet, which turns domain names into IP addresses. The fundamental aspect of DNS is the capability to add NameServer or NS records for a subdomain. The process of setting up a nameserver for a subdomain is an important step in simplifying your domain\u2019s DNS configurations. Irrespective of whether you\u2019re [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3008],"class_list":["post-15885","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-domain-name-dns-issues","tag-nameserver-for-subdomain"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Nameserver For Subdomain<\/title>\n<meta name=\"description\" content=\"Curious to know how to add an NS record for a subdomain? This step-by-step guide will help you efficiently set up nameserver records.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Nameserver For Subdomain\" \/>\n<meta property=\"og:description\" content=\"Curious to know how to add an NS record for a subdomain? This step-by-step guide will help you efficiently set up nameserver records.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2024-09-02T09:40:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-02T09:40:19+00:00\" \/>\n<meta name=\"author\" content=\"Ujwala\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ujwala\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/\",\"name\":\"Nameserver For Subdomain\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2024-09-02T09:40:18+00:00\",\"dateModified\":\"2024-09-02T09:40:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8\"},\"description\":\"Curious to know how to add an NS record for a subdomain? This step-by-step guide will help you efficiently set up nameserver records.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Nameserver For Subdomain\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8\",\"name\":\"Ujwala\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g\",\"caption\":\"Ujwala\"},\"description\":\"My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/ujwala\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Nameserver For Subdomain","description":"Curious to know how to add an NS record for a subdomain? This step-by-step guide will help you efficiently set up nameserver records.","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:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/","og_locale":"en_GB","og_type":"article","og_title":"Nameserver For Subdomain","og_description":"Curious to know how to add an NS record for a subdomain? This step-by-step guide will help you efficiently set up nameserver records.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2024-09-02T09:40:18+00:00","article_modified_time":"2024-09-02T09:40:19+00:00","author":"Ujwala","twitter_misc":{"Written by":"Ujwala","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/","name":"Nameserver For Subdomain","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2024-09-02T09:40:18+00:00","dateModified":"2024-09-02T09:40:19+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8"},"description":"Curious to know how to add an NS record for a subdomain? This step-by-step guide will help you efficiently set up nameserver records.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/nameserver-for-subdomain\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"Nameserver For Subdomain"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8","name":"Ujwala","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g","caption":"Ujwala"},"description":"My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/ujwala\/"}]}},"views":0,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/15885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=15885"}],"version-history":[{"count":1,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/15885\/revisions"}],"predecessor-version":[{"id":15886,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/15885\/revisions\/15886"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=15885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=15885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=15885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}