{"id":17227,"date":"2024-11-13T08:55:55","date_gmt":"2024-11-13T08:55:55","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=17227"},"modified":"2025-04-09T15:09:41","modified_gmt":"2025-04-09T15:09:41","password":"","slug":"how-to-set-up-nameservers-in-centos-web-panel","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/","title":{"rendered":"How to Set Up Nameservers in Control Web Panel"},"content":{"rendered":"\n<p>Setting up custom nameservers in CentOS Web Panel (CWP) allows you to use personalized domain name servers, such as <code>ns1.yourdomain.com<\/code> and <code>ns2.yourdomain.com<\/code>. This setup is essential for server administrators and web hosting providers who want more control over DNS and branding.<\/p>\n\n\n\n<p>Please note that the nameservers that you update here should <em><a href=\"https:\/\/truehost.com\/support\/knowledge-base\/create-name-servers\/\" target=\"_blank\" rel=\"noreferrer noopener\">already be registered<\/a><\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step by Step on How to Set Up Nameservers in Control Web Panel<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to CentOS Web Panel root panel using <a href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-access-cwp-main-whm-panel\/\" target=\"_blank\" rel=\"noreferrer noopener\">these steps<\/a><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"436\" height=\"461\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-300.png\" alt=\"\" class=\"wp-image-17230\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-300.png 436w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-300-284x300.png 284w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the CWP dashboard, navigate to <strong>DNS Functions<\/strong>.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on <strong>Edit Nameservers IPs<\/strong> to define your nameserver addresses.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"654\" height=\"289\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-302.png\" alt=\"\" class=\"wp-image-17232\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-302.png 654w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-302-300x133.png 300w\" sizes=\"auto, (max-width: 654px) 100vw, 654px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Here, you will add your subdomains you want to use for the NameServers and one IP for each. <\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>ns1.tke.co.ke --> 185.4.149.83\nns2.tke.co.ke --> 185.4.149.90<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can also add the same IP, for your server.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>ns1.tke.co.ke --> <span style=\"background-color: initial; color: inherit; font-family: inherit; font-size: inherit;\">185.4.149.90<\/span>\nns2.tke.co.ke --> 185.4.149.90<\/code><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"516\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-303.png\" alt=\"\" class=\"wp-image-17233\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-303.png 975w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-303-300x159.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-303-768x406.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once done, click on <strong>Save<\/strong> to update the changes.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you had not registered those nameservers with your domain registrar, please do it using <a href=\"https:\/\/truehost.com\/support\/knowledge-base\/create-name-servers\/\" target=\"_blank\" rel=\"noreferrer noopener\">these steps<\/a><\/li>\n\n\n\n<li>You may now point your hosted domains to those nameservers so that they resolve to the server.<\/li>\n<\/ul>\n\n\n\n<p>Your custom nameservers are now set up in Control Web Panel. This configuration allows you to manage DNS services directly on your server and provides a branded experience for clients and users.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up custom nameservers in CentOS Web Panel (CWP) allows you to use personalized domain name servers, such as ns1.yourdomain.com and ns2.yourdomain.com. This setup is essential for server administrators and web hosting providers who want more control over DNS and branding. Please note that the nameservers that you update here should already be registered Step [&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,1824,2140,1879,2128],"doc_tag":[],"class_list":["post-17227","docs","type-docs","status-publish","hentry","doc_category-cloud-servers-in-kenya","doc_category-dedicated-servers","doc_category-dns","doc_category-servers","doc_category-vps-servers"],"year_month":"2026-06","word_count":223,"total_views":0,"reactions":{"happy":0,"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":"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 Set Up Nameservers in Control Web Panel -<\/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:\/\/www.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up Nameservers in Control Web Panel -\" \/>\n<meta property=\"og:description\" content=\"Setting up custom nameservers in CentOS Web Panel (CWP) allows you to use personalized domain name servers, such as ns1.yourdomain.com and ns2.yourdomain.com. This setup is essential for server administrators and web hosting providers who want more control over DNS and branding. Please note that the nameservers that you update here should already be registered Step [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-09T15:09:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-300.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-set-up-nameservers-in-centos-web-panel\\\/\",\"url\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-set-up-nameservers-in-centos-web-panel\\\/\",\"name\":\"How to Set Up Nameservers in Control Web Panel -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-set-up-nameservers-in-centos-web-panel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-set-up-nameservers-in-centos-web-panel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-300.png\",\"datePublished\":\"2024-11-13T08:55:55+00:00\",\"dateModified\":\"2025-04-09T15:09:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-set-up-nameservers-in-centos-web-panel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-set-up-nameservers-in-centos-web-panel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-set-up-nameservers-in-centos-web-panel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-300.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-300.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/knowledge-base\\\/how-to-set-up-nameservers-in-centos-web-panel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set Up Nameservers in Control Web Panel\"}]},{\"@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 Set Up Nameservers in Control Web Panel -","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.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Up Nameservers in Control Web Panel -","og_description":"Setting up custom nameservers in CentOS Web Panel (CWP) allows you to use personalized domain name servers, such as ns1.yourdomain.com and ns2.yourdomain.com. This setup is essential for server administrators and web hosting providers who want more control over DNS and branding. Please note that the nameservers that you update here should already be registered Step [&hellip;]","og_url":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/","article_modified_time":"2025-04-09T15:09:41+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-300.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/","url":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/","name":"How to Set Up Nameservers in Control Web Panel -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/#primaryimage"},"image":{"@id":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-300.png","datePublished":"2024-11-13T08:55:55+00:00","dateModified":"2025-04-09T15:09:41+00:00","breadcrumb":{"@id":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-300.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-300.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.truehost.com\/support\/knowledge-base\/how-to-set-up-nameservers-in-centos-web-panel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Set Up Nameservers in Control Web Panel"}]},{"@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\/17227","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=17227"}],"version-history":[{"count":5,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/17227\/revisions"}],"predecessor-version":[{"id":17239,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/17227\/revisions\/17239"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=17227"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=17227"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=17227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}