{"id":1941,"date":"2025-04-05T06:17:04","date_gmt":"2025-04-05T06:17:04","guid":{"rendered":"https:\/\/hostingfy.eu\/?p=1941"},"modified":"2025-07-10T07:03:23","modified_gmt":"2025-07-10T07:03:23","slug":"what-is-a-nameserver","status":"publish","type":"post","link":"https:\/\/hostingfy.eu\/en\/what-is-a-nameserver\/","title":{"rendered":"What is a nameserver, how does it work, and how to check it?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If you&#8217;ve ever had to configure a <a href=\"https:\/\/hostingfy.eu\/en\/difference-between-hosting-and-domain\/\" data-type=\"page\" data-id=\"1646\">domain name<\/a> or move a website from one hosting provider to another, you&#8217;ve probably come across <strong>nameservers<\/strong>. You may have wondered: <em>\u2018What exactly are they? How do they work? And how do I know if everything is configured correctly?\u2019<\/em> Don&#8217;t worry, here at Hostingfy we&#8217;ll explain everything in a simple and practical way. We&#8217;ll look at <strong>what a nameserver is<\/strong>, <strong>how it works<\/strong>, <strong>what it&#8217;s used for<\/strong>, and <strong>how you can check that it&#8217;s working properly<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is a nameserver?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nameservers are a fundamental part of how the Internet works, but they often go unnoticed or are confused with other parts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Definition<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A <strong>nameserver<\/strong> is a type of <strong>DNS (Domain Name System) server<\/strong> that translates domain names (such as <code>www.tuosito.it<\/code>) into <strong>IP addresses<\/strong>, which are the numerical identifiers of machines connected to the Internet. In practice, every time you type a URL into your browser, your computer contacts a nameserver to find out which IP address corresponds to that name.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What are they used for<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Their purpose is to allow users to <strong>reach a website by typing in an easy-to-remember name<\/strong>, instead of having to enter a long string of numbers. The nameserver therefore represents the link<strong> between the domain and the hosting<\/strong>, i.e. the space where your website is hosted.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Where are they located<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Usually, nameservers are <strong><a href=\"https:\/\/hostingfy.eu\/en\/what-is-managed-hosting\/\" data-type=\"page\" data-id=\"1642\">managed by the hosting provider<\/a><\/strong> (such as Hostingfy) or by the <strong>domain registrar<\/strong>. Each domain has one or more nameservers (usually at least two) that work in pairs to ensure reliability and continuity of service.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How a nameserver works in DNS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now that we&#8217;ve seen what a nameserver is, let&#8217;s get to the heart of the matter: how does it work? Let&#8217;s see how it fits into the domain name resolution process.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Its role in the DNS system<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Domain Name System (DNS)<\/strong> is like a giant phone book for the Internet. When you type <code>www.google.com<\/code>, your device <strong>queries the DNS<\/strong> to find out which IP address it needs to connect to. Nameservers participate in this communication chain and are responsible for <strong>managing the DNS zones<\/strong> associated with a specific domain.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DNS resolution step by step<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s a quick overview of what happens when you browse a website:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The browser asks the DNS system for the domain&#8217;s IP address.<\/li>\n\n\n\n<li>The DNS resolver (usually provided by your Internet service provider) contacts a <strong>root server<\/strong>.<\/li>\n\n\n\n<li>The root server points to an <strong>authoritative nameserver<\/strong> for the top-level domain (such as <code>.it<\/code> or <code>.com<\/code>).<\/li>\n\n\n\n<li>This points to the <strong>nameservers for the specific domain<\/strong>.<\/li>\n\n\n\n<li>The nameserver responds with the correct IP address.<\/li>\n\n\n\n<li>The browser connects to the website via that address.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">All this happens in <strong>a fraction of a second<\/strong> and no one notices.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Authoritative vs non-authoritative nameservers<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Another important concept is the distinction between <strong>authoritative<\/strong> and <strong>non-authoritative<\/strong> nameservers. The former are those that <strong>directly manage DNS information<\/strong> for a specific domain, while the latter are more like \u201cmessengers\u201d that collect and transmit information from other sources.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to check a domain&#8217;s nameservers<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s get to the practical part: do you want to know <strong>which nameservers are associated with your domain<\/strong>, or do you want to check if the configuration is correct? There are several ways to do this, even without being a programming expert.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why check<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Checking your nameservers allows you to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Understand if the domain is active<\/strong> and correctly pointed to the hosting.<\/li>\n\n\n\n<li><strong>Diagnose connection<\/strong> or DNS propagation problems.<\/li>\n\n\n\n<li><strong>Manage a site migration<\/strong> without interruption.<\/li>\n\n\n\n<li><strong>Ensure that everything is configured according to your provider&#8217;s best practices<\/strong>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How to check them online<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The easiest way to check is to use one of the many free online tools. Here are some reliable ones:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Whois Lookup<\/strong> (such as <code>whois.domaintools.com<\/code> or <code>whois.net<\/code>): shows the nameservers currently assigned to a domain.<\/li>\n\n\n\n<li>DNS Checker (dnschecker.org): useful for seeing if the configuration has propagated correctly worldwide.<\/li>\n\n\n\n<li>IntoDNS (intodns.com): provides a comprehensive technical overview, including errors and warnings.<\/li>\n\n\n\n<li>MXToolbox: also useful for advanced checks, such as MX and SPF records.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Just enter your domain and the tool will return the active nameservers, their response, and other useful details.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Check them from the terminal<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you are more familiar with using a PC, you can also use your PC&#8217;s terminal. Here are two useful commands:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On Windows: nslookup -type=NS yourdomain.it<\/li>\n\n\n\n<li>On macOS\/Linux: dig NS yourdomain.it<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These commands show <strong>the nameservers configured<\/strong> for the domain. This is useful if you don&#8217;t want to use online tools.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What to do if the nameservers are incorrect<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you notice that the nameservers are incorrect, or if your website is not accessible, you probably need to take action. Here&#8217;s how to proceed:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to the <strong>control panel of your registrar<\/strong> (where you registered the domain)<\/li>\n\n\n\n<li>Go to the \u2018DNS Management\u2019 or \u2018Nameserver\u2019 section.<\/li>\n\n\n\n<li>Replace the nameservers with the correct ones provided by your hosting provider (such as Hostingfy)<\/li>\n\n\n\n<li>Save the changes and wait for the DNS propagation (which can take from a few hours to 48 hours). Waiting for propagation means waiting for the DNS to update on all servers around the world.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">More to know<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Some additional information about nameservers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How many nameservers do you need to set up?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Usually, you set up at least <strong>two nameservers<\/strong>: one primary and one secondary. This is to ensure <strong>redundancy and stability<\/strong>. If the first one does not respond, the second one takes over. Some providers also offer 3 or 4 nameservers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Custom nameservers: what are they?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Some hosting providers (especially for brands or more advanced projects) allow you to set up <strong>custom nameservers<\/strong>, such as <code>ns1.yourdomain.it<\/code>. This gives you more control and can help build <strong>a professional identity<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DNS propagation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Every time you change nameservers, you need to consider the propagation time. This process can take <strong>from a few hours to a couple of days<\/strong>, depending on your provider and your local DNS cache. During this time, your website may not be visible everywhere.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At this point, you should have a clear idea of <strong>what a nameserver is, how it works and how to check<\/strong> it. Although it may seem like a technical topic at first glance, it is actually <strong>a fundamental element for the visibility of your website<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Knowing how to check and configure them correctly enables you to <strong>avoid downtime, manage migrations with peace of mind and resolve any DNS issues<\/strong> without having to rely entirely on technical support. If you have a website or manage multiple domains, learning how to perform these checks will save you time&#8230; and problems!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Still have questions about nameservers? <a href=\"https:\/\/hostingfy.eu\/en\/en-contact-us\/\" data-type=\"page\" data-id=\"1640\">Contact Hostingfy<\/a> for support.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve ever had to configure a domain name or move a website from one hosting provider to another, you&#8217;ve probably come across nameservers. You may have wondered: \u2018What exactly are they? How do they work? And how do I know if everything is configured correctly?\u2019 Don&#8217;t worry, here at Hostingfy we&#8217;ll explain everything in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1602,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_joinchat":[],"footnotes":""},"categories":[49],"tags":[],"class_list":["post-1941","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/posts\/1941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/comments?post=1941"}],"version-history":[{"count":1,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/posts\/1941\/revisions"}],"predecessor-version":[{"id":1942,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/posts\/1941\/revisions\/1942"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/media\/1602"}],"wp:attachment":[{"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/media?parent=1941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/categories?post=1941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostingfy.eu\/en\/wp-json\/wp\/v2\/tags?post=1941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}