{"id":789,"date":"2014-08-08T19:03:58","date_gmt":"2014-08-08T19:03:58","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=789"},"modified":"2021-02-16T12:13:33","modified_gmt":"2021-02-16T12:13:33","slug":"how-to-set-host-name-in-cpanel","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/","title":{"rendered":"how to set host name in cPanel"},"content":{"rendered":"<p><span style=\"color: #000000;\">Normally we will set the hostname of a system during the set up procedure. Many peoples don\u2019t worry about this, and don\u2019t modify the hostname even if for example this was set to something really ridiculous by the datacenter that installed the system.<\/span><br \/>\n<span style=\"color: #000000;\">The process of changing your hostname\u00a0is very simple.<\/span><br \/>\n<span style=\"color: #000000;\"><strong>1-Change The Hostname Through SSH<\/strong><\/span><br \/>\n<span style=\"color: #000000;\">On any Linux system we can change the hostname with the simple command &#8216;hostname&#8217;\u00a0(surprised?)\u2026 Here is some quick usage of command line.<\/span><br \/>\n<span style=\"color: #000000;\">Log into your cPanel via\u00a0SSH and run the following commands.<\/span><\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">hostname<\/pre>\n<\/div>\n<p><span style=\"color: #000000;\">without any parameter it will outcome the present hostname of the system.<\/span><\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">hostname --fdqn<\/pre>\n<\/div>\n<p><span style=\"color: #000000;\">It will outcome the fully qualified domain name of the system.<\/span><\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true\">hostname server.yourdomain.com<\/pre>\n<\/div>\n<p><span style=\"color: #000000;\">It will set the hostname of system to new name.<\/span><br \/>\n<span style=\"color: #000000;\">Now\u00a0You have to resynchronize the key with the cPanel licensing server.<\/span><\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">\/usr\/local\/cpanel\/cpkeyclt<\/pre>\n<\/div>\n<p><strong>2-Change The Hostname within\u00a0cPanel<\/strong><\/p>\n<ul style=\"color: #666666;\">\n<li><span style=\"color: #000000;\">Login to your WHM on your cPanel<\/span><\/li>\n<li><span style=\"color: #000000;\">Scroll down to &#8220;Networking Setup&#8221;<\/span><\/li>\n<li><span style=\"color: #000000;\">Click on &#8220;Hostname&#8221;<\/span><\/li>\n<li><span style=\"color: #000000;\">Provide\u00a0the new hostname at the bottom of the page and click &#8220;Change&#8221;<\/span><\/li>\n<li><span style=\"color: #000000;\">Your hostname has now been changed.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">After that\u00a0You should probably &#8220;<strong>Add an A entry for your hostname<\/strong>&#8221;\u00a0if you don&#8217;t already have one.<\/span><\/p>\n<p style=\"font-weight: bold; color: #222222;\">\n","protected":false},"excerpt":{"rendered":"<p>Normally we will set the hostname of a system during the set up procedure. Many peoples don\u2019t worry about this, and don\u2019t modify the hostname even if for example this was set to something really ridiculous by the datacenter that installed the system. The process of changing your hostname\u00a0is very simple. 1-Change The Hostname Through [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-789","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>how to set host name in cPanel - cPanel Plesk<\/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:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"how to set host name in cPanel - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"Normally we will set the hostname of a system during the set up procedure. Many peoples don\u2019t worry about this, and don\u2019t modify the hostname even if for example this was set to something really ridiculous by the datacenter that installed the system. The process of changing your hostname\u00a0is very simple. 1-Change The Hostname Through [...]Continue Reading...\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Seemab Saleem\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/\"},\"author\":{\"name\":\"Seemab Saleem\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\"},\"headline\":\"how to set host name in cPanel\",\"datePublished\":\"2014-08-08T19:03:58+00:00\",\"dateModified\":\"2021-02-16T12:13:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/\"},\"wordCount\":203,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"articleSection\":[\"Cpanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/\",\"name\":\"how to set host name in cPanel - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"datePublished\":\"2014-08-08T19:03:58+00:00\",\"dateModified\":\"2021-02-16T12:13:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"how to set host name in cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\",\"name\":\"Seemab Saleem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"caption\":\"Seemab Saleem\"},\"description\":\"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!\",\"sameAs\":[\"https:\/\/cpanelplesk.com\/wp62\"],\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"how to set host name in cPanel - cPanel Plesk","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:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/","twitter_card":"summary_large_image","twitter_title":"how to set host name in cPanel - cPanel Plesk","twitter_description":"Normally we will set the hostname of a system during the set up procedure. Many peoples don\u2019t worry about this, and don\u2019t modify the hostname even if for example this was set to something really ridiculous by the datacenter that installed the system. The process of changing your hostname\u00a0is very simple. 1-Change The Hostname Through [...]Continue Reading...","twitter_misc":{"Written by":"Seemab Saleem","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/"},"author":{"name":"Seemab Saleem","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648"},"headline":"how to set host name in cPanel","datePublished":"2014-08-08T19:03:58+00:00","dateModified":"2021-02-16T12:13:33+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/"},"wordCount":203,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"articleSection":["Cpanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/","url":"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/","name":"how to set host name in cPanel - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"datePublished":"2014-08-08T19:03:58+00:00","dateModified":"2021-02-16T12:13:33+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-set-host-name-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"how to set host name in cPanel"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648","name":"Seemab Saleem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","caption":"Seemab Saleem"},"description":"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!","sameAs":["https:\/\/cpanelplesk.com\/wp62"],"url":"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=789"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/789\/revisions"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}