{"id":458,"date":"2024-04-23T16:22:29","date_gmt":"2024-04-23T16:22:29","guid":{"rendered":"https:\/\/bulkspace.in\/knowledge\/?p=458"},"modified":"2024-04-23T16:33:16","modified_gmt":"2024-04-23T16:33:16","slug":"how-to-configure-nameservers-in-whm-server","status":"publish","type":"post","link":"https:\/\/bulkspace.in\/knowledge\/how-to-configure-nameservers-in-whm-server\/","title":{"rendered":"How to Configure Nameservers in WHM Server"},"content":{"rendered":"\n<p>Configure Nameservers is the first step many users take when setting up their cPanel &amp; WHM servers. Having your own nameservers allows you to take control of your DNS for your domains and provides your users with a central set of DNS that they can point their domain names to when hosting under your servers.<\/p>\n\n\n\n<p>Before you begin, you will first want to make sure that your nameservers are registered with your <a href=\"https:\/\/www.squarebrothers.com\/domain-registration-india\/\" target=\"_blank\" rel=\"noopener\"><strong>domain&#8217;s registrar<\/strong><\/a>. This step may vary depending on your domain&#8217;s register, and you may need to reach out to them for the correct steps.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#step-by-step-guide-to-configure-nameservers-and-ip-addresses\">Step by Step Guide to Configure Nameservers and IP Addresses<\/a><ul><li><a href=\"#access-whm\">Access WHM<\/a><\/li><li><a href=\"#navigate-to-basic-web-host-manager-setup\">Navigate to Basic WebHost Manager Setup<\/a><\/li><li><a href=\"#set-default-nameservers\">Set Default Nameservers<\/a><\/li><li><a href=\"#assign-ip-addresses\">Assign IP Addresses<\/a><\/li><li><a href=\"#save-changes-and-restart-if-needed\">Save Changes and Restart if needed<\/a><\/li><li><a href=\"#update-dns-zone-templates-optional\">Update DNS Zone Templates (Optional)<\/a><\/li><li><a href=\"#register-nameservers\">Register Nameservers<\/a><\/li><li><a href=\"#update-dns-records-if-necessary\">Update DNS Records If necessary<\/a><\/li><li><a href=\"#verify-configuration\">Verify Configuration<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-by-step-guide-to-configure-nameservers-and-ip-addresses\">Step by Step Guide to Configure Nameservers and IP Addresses<\/h2>\n\n\n\n<p>To configure default nameservers and IP addresses in cPanel &amp; WHM, follow these steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"access-whm\"><strong>Access WHM<\/strong><\/h3>\n\n\n\n<p>Log in to WHM with your credentials.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"531\" height=\"345\" src=\"https:\/\/bulkspace.in\/knowledge\/wp-content\/uploads\/2024\/04\/image.png\" alt=\"\" class=\"wp-image-469\" srcset=\"https:\/\/bulkspace.in\/knowledge\/wp-content\/uploads\/2024\/04\/image.png 531w, https:\/\/bulkspace.in\/knowledge\/wp-content\/uploads\/2024\/04\/image-300x195.png 300w\" sizes=\"auto, (max-width: 531px) 100vw, 531px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"navigate-to-basic-web-host-manager-setup\"><strong>Navigate to Basic WebHost Manager Setup<\/strong> <\/h3>\n\n\n\n<p>In WHM, find and click on the &#8220;Basic WebHost Manager Setup&#8221; option. You can usually locate it by typing &#8220;Basic&#8221; in the search bar or navigating through the left-hand menu to &#8220;Server Configuration&#8221; &gt; &#8220;Basic WebHost Manager Setup&#8221;.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"set-default-nameservers\"><strong>Set Default Nameservers<\/strong><\/h3>\n\n\n\n<p>In the &#8220;Basic WebHost Manager Setup&#8221; interface, you&#8217;ll see options to set up default nameservers. Enter the nameserver hostnames you want to use as default (e.g., ns1.yourdomain.com and ns2.yourdomain.com).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"assign-ip-addresses\"><strong>Assign IP Addresses<\/strong><\/h3>\n\n\n\n<p>Below the default nameservers section, you can assign IP addresses to your default nameservers. These should be the IP addresses of your server. If you have multiple IP addresses, you can assign them accordingly.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"422\" src=\"https:\/\/bulkspace.in\/knowledge\/wp-content\/uploads\/2024\/04\/whm-change-hostname-1024x422-1.png\" alt=\"\" class=\"wp-image-471\" srcset=\"https:\/\/bulkspace.in\/knowledge\/wp-content\/uploads\/2024\/04\/whm-change-hostname-1024x422-1.png 1024w, https:\/\/bulkspace.in\/knowledge\/wp-content\/uploads\/2024\/04\/whm-change-hostname-1024x422-1-300x124.png 300w, https:\/\/bulkspace.in\/knowledge\/wp-content\/uploads\/2024\/04\/whm-change-hostname-1024x422-1-768x317.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"save-changes-and-restart-if-needed\"><strong>Save Changes and Restart if needed<\/strong><\/h3>\n\n\n\n<p>Once you&#8217;ve entered the default nameservers and assigned IP addresses, click on the &#8220;Save Changes&#8221; button to apply your settings. <\/p>\n\n\n\n<p>After changing the hostname, it\u2019s a good idea to restart relevant services to ensure the change server hostname in WHM take effect. This step is optional but recommended for consistency. You can typically restart services like Apache and cPanel from the WHM dashboard.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"update-dns-zone-templates-optional\"><strong>Update DNS Zone Templates (Optional)<\/strong><\/h3>\n\n\n\n<p>You can optionally update DNS zone templates to reflect the default nameservers. This step is useful if you want new accounts to automatically use the default nameservers. Navigate to &#8220;DNS Functions&#8221; &gt; &#8220;Edit Zone Templates&#8221; to make changes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"register-nameservers\"><strong>Register Nameservers<\/strong><\/h3>\n\n\n\n<p>After configuring default nameservers in WHM, ensure they are registered with your domain registrar. Log in to your domain registrar&#8217;s account and register the default nameservers with the corresponding IP addresses.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"update-dns-records-if-necessary\"><strong>Update DNS Records If necessary<\/strong><\/h3>\n\n\n\n<p>update DNS records for existing domains to use the default nameservers. This can typically be done through your domain registrar&#8217;s DNS management interface.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"255\" src=\"https:\/\/bulkspace.in\/knowledge\/wp-content\/uploads\/2024\/04\/image-4.png\" alt=\"\" class=\"wp-image-472\" style=\"width:464px;height:auto\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"verify-configuration\"><strong>Verify Configuration<\/strong><\/h3>\n\n\n\n<p>Verify that your default nameservers and IP addresses are configured correctly by using tools like <code>dig<\/code> or <code>nslookup<\/code> to check DNS resolution.<\/p>\n\n\n\n<p>By following these steps, you&#8217;ll successfully configure nameservers and IP addresses in your cPanel &amp; WHM server, ensuring smooth domain management for your <a href=\"https:\/\/www.bulkspace.in\/web-hosting\/\">hosting environment<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Configure Nameservers is the first step many users take when setting up their cPanel &amp; WHM servers. Having your own nameservers allows you to take control of your DNS for your domains and provides your users with a central set of DNS that they can point their domain names to when hosting under your servers. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":467,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,9,3],"tags":[11,6,5],"class_list":["post-458","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-information","category-domain-name","category-web-hosting","tag-information","tag-servers","tag-web-hosting"],"_links":{"self":[{"href":"https:\/\/bulkspace.in\/knowledge\/wp-json\/wp\/v2\/posts\/458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bulkspace.in\/knowledge\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bulkspace.in\/knowledge\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bulkspace.in\/knowledge\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bulkspace.in\/knowledge\/wp-json\/wp\/v2\/comments?post=458"}],"version-history":[{"count":7,"href":"https:\/\/bulkspace.in\/knowledge\/wp-json\/wp\/v2\/posts\/458\/revisions"}],"predecessor-version":[{"id":474,"href":"https:\/\/bulkspace.in\/knowledge\/wp-json\/wp\/v2\/posts\/458\/revisions\/474"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bulkspace.in\/knowledge\/wp-json\/wp\/v2\/media\/467"}],"wp:attachment":[{"href":"https:\/\/bulkspace.in\/knowledge\/wp-json\/wp\/v2\/media?parent=458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bulkspace.in\/knowledge\/wp-json\/wp\/v2\/categories?post=458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bulkspace.in\/knowledge\/wp-json\/wp\/v2\/tags?post=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}