{"id":18131,"date":"2024-12-03T04:54:27","date_gmt":"2024-12-03T04:54:27","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=18131"},"modified":"2025-04-09T15:09:40","modified_gmt":"2025-04-09T15:09:40","password":"","slug":"how-to-configure-hostname-and-default-nameservers-in-whm","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/","title":{"rendered":"How to Configure Hostname and Default Nameservers in WHM"},"content":{"rendered":"\n<p>Proper configuration of the hostname and nameservers is essential for server identification and DNS functionality in WHM. This guide walks you through setting up a hostname and configuring nameservers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Root Access to the server&#8217;s WHM<\/li>\n\n\n\n<li><a href=\"https:\/\/truehost.com\/support\/knowledge-base\/create-name-servers\/\" target=\"_blank\" rel=\"noreferrer noopener\">Register your  Nameservers with your Registrar<\/a>. You can also check <a href=\"https:\/\/support.cpanel.net\/hc\/en-us\/articles\/360052918774\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>this<\/strong><\/a><\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>How to Configure Default Nameservers<\/strong><\/h4>\n\n\n\n<p>This is usually one of the the initial steps that you will take once you have set up your cPanel server. <\/p>\n\n\n\n<p>If you have your own nameservers you are able to take full control of your DNS and all your users will have a common set of DNS that they will point their domains to, in order to have them pointed on your server<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to WHM either with the root account. Normally you will use one of the URLs below;<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;your_server_ip:2087\n\nhttps:\/\/your_server_hostname:2087<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image is-resized is-style-zoooom\"><img decoding=\"async\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-703.png\" alt=\"This image has an empty alt attribute; its file name is image-703.png\" style=\"width:1203px;height:auto\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to WHM&#8217;s\u00a0<em><strong>Basic WebHost Manager Setu<\/strong>p<\/em>\u00a0interface (<em>&#8220;WHM \u00bb Home \u00bbServer Configuration \u00bb Basic WebHost Manager Setup&#8221;<\/em>).<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"505\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-85-1024x505.png\" alt=\"\" class=\"wp-image-18132\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-85-1024x505.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-85-300x148.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-85-768x379.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-85.png 1090w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Scroll down to the bottom of the interface, to the <strong>Nameservers<\/strong> section. Enter the desired nameserver names in the text boxes.<\/li>\n\n\n\n<li>Click &#8220;<em>Save Changes<\/em>.&#8221;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"859\" height=\"416\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-86.png\" alt=\"\" class=\"wp-image-18133\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-86.png 859w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-86-300x145.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-86-768x372.png 768w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Still while at the same place, check next to the appropriate\u00a0<em>Nameservers<\/em>\u00a0text box, and click &#8220;<em>Configure Address Records&#8221;<\/em>. A new interface will appear, and the system will perform a DNS lookup on the nameserver you entered.\n<ul class=\"wp-block-list\">\n<li>Note that if you are hot hosting your domains on the server then you need not to do this step.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"822\" height=\"561\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-87.png\" alt=\"\" class=\"wp-image-18134\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-87.png 822w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-87-300x205.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-87-768x524.png 768w\" sizes=\"auto, (max-width: 822px) 100vw, 822px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Input IP Addresses in the appropriate boxes\n<ul class=\"wp-block-list\">\n<li>To enter a different IPv4 address, enter a new value in the\u00a0Enter an IPv4 address<em>\u00a0to create an A record<\/em>\u00a0text box or &#8220;<em>Confirm the IPv4 address to create an A record<\/em>\u00a0text box.<\/li>\n\n\n\n<li>To enter a different IPv6 address, enter a new value in the Enter an IPv6 address to create an AAAA record\u00a0text box.<\/li>\n\n\n\n<li>Click on <strong>Configure Address Records<\/strong> button, then on <strong>Close<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"502\" height=\"346\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-88.png\" alt=\"\" class=\"wp-image-18135\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-88.png 502w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-88-300x207.png 300w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Repeat these steps for each nameserver that you added ion the server.<\/li>\n<\/ul>\n\n\n\n<p>That is all. You can now point your domain to the nameservers that you created in order for its DNS to resolve to the server<\/p>\n\n\n\n<p>You can read more from <a href=\"https:\/\/docs.cpanel.net\/knowledge-base\/dns\/how-to-set-up-nameservers-in-a-cpanel-environment\/\" target=\"_blank\" rel=\"noreferrer noopener\">cPanel&#8217;s Documentation.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Proper configuration of the hostname and nameservers is essential for server identification and DNS functionality in WHM. This guide walks you through setting up a hostname and configuring nameservers. Prerequisites How to Configure Default Nameservers This is usually one of the the initial steps that you will take once you have set up your cPanel [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[1820,1878,1824,2140,1879,2128],"doc_tag":[],"class_list":["post-18131","docs","type-docs","status-publish","hentry","doc_category-cloud-servers-in-kenya","doc_category-get-all-your-cpanel-help","doc_category-dedicated-servers","doc_category-dns","doc_category-servers","doc_category-vps-servers"],"year_month":"2026-06","word_count":357,"total_views":"0","reactions":{"happy":"25","normal":"0","sad":"0"},"author_info":{"name":"Eugene","author_nicename":"eugene","author_url":"https:\/\/truehost.com\/support\/author\/eugene\/"},"doc_category_info":[{"term_name":"Cloud servers in Kenya","term_url":"https:\/\/truehost.com\/support\/docs-category\/cloud-servers-in-kenya\/"},{"term_name":"Cpanel","term_url":"https:\/\/truehost.com\/support\/docs-category\/get-all-your-cpanel-help\/"},{"term_name":"dedicated servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/dedicated-servers\/"},{"term_name":"DNS","term_url":"https:\/\/truehost.com\/support\/docs-category\/dns\/"},{"term_name":"Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/servers\/"},{"term_name":"VPS-Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/vps-servers\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Configure Hostname and Default Nameservers in WHM -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Configure Hostname and Default Nameservers in WHM -\" \/>\n<meta property=\"og:description\" content=\"Proper configuration of the hostname and nameservers is essential for server identification and DNS functionality in WHM. This guide walks you through setting up a hostname and configuring nameservers. Prerequisites How to Configure Default Nameservers This is usually one of the the initial steps that you will take once you have set up your cPanel [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-09T15:09:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-703.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-configure-hostname-and-default-nameservers-in-whm\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-configure-hostname-and-default-nameservers-in-whm\\\/\",\"name\":\"How to Configure Hostname and Default Nameservers in WHM -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-configure-hostname-and-default-nameservers-in-whm\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-configure-hostname-and-default-nameservers-in-whm\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-703.png\",\"datePublished\":\"2024-12-03T04:54:27+00:00\",\"dateModified\":\"2025-04-09T15:09:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-configure-hostname-and-default-nameservers-in-whm\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-configure-hostname-and-default-nameservers-in-whm\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-configure-hostname-and-default-nameservers-in-whm\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-703.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-703.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-configure-hostname-and-default-nameservers-in-whm\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Configure Hostname and Default Nameservers in WHM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Configure Hostname and Default Nameservers in WHM -","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:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/","og_locale":"en_US","og_type":"article","og_title":"How to Configure Hostname and Default Nameservers in WHM -","og_description":"Proper configuration of the hostname and nameservers is essential for server identification and DNS functionality in WHM. This guide walks you through setting up a hostname and configuring nameservers. Prerequisites How to Configure Default Nameservers This is usually one of the the initial steps that you will take once you have set up your cPanel [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/","article_modified_time":"2025-04-09T15:09:40+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-703.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/","name":"How to Configure Hostname and Default Nameservers in WHM -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-703.png","datePublished":"2024-12-03T04:54:27+00:00","dateModified":"2025-04-09T15:09:40+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-703.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-703.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-configure-hostname-and-default-nameservers-in-whm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Configure Hostname and Default Nameservers in WHM"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/18131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=18131"}],"version-history":[{"count":2,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/18131\/revisions"}],"predecessor-version":[{"id":18138,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/18131\/revisions\/18138"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=18131"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=18131"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=18131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}