{"id":292,"date":"2021-03-25T17:36:57","date_gmt":"2021-03-25T17:36:57","guid":{"rendered":"https:\/\/hostandtech.com\/help\/?p=292"},"modified":"2021-11-04T19:41:31","modified_gmt":"2021-11-04T19:41:31","slug":"how-to-change-centos-hostname-server","status":"publish","type":"post","link":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/","title":{"rendered":"How to change Centos Hostname Server"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"292\" class=\"elementor elementor-292\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d1590d8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d1590d8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-610fe26\" data-id=\"610fe26\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-72ef998 elementor-widget elementor-widget-text-editor\" data-id=\"72ef998\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This article shows us how to change the server hostname.<\/p><p><strong>What is the Server Hostname?<\/strong><\/p><p>Every server\u00a0 starts with the server\u2019s given name as the <strong>hostname.<\/strong><\/p><p>It is necessary to\u00a0 set the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Fully_qualified_domain_name\" target=\"_blank\" rel=\"noopener\">FQDN<\/a> host name for your server because when the server host some softwares, like cPanel, this process requires a valid Fully Qualified Domain Name (FQDN) for the hostname to be used during their licensing verification system.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-897bf88 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"897bf88\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8e3dbd9\" data-id=\"8e3dbd9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-86552b0 elementor-widget elementor-widget-heading\" data-id=\"86552b0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Hostname Naming Rules<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-64e060d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"64e060d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-52c60f6\" data-id=\"52c60f6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-82999d6 elementor-widget elementor-widget-text-editor\" data-id=\"82999d6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>You can give your Hostname the name whatever you want, but you have to consider the following rules.<\/p><ol><li>The hostnames may have letters (from a to z) and \/or digits (from 0 to 9).<\/li><li>It can contain only the hyphen character ( \u2013 ) as a special character and \/or dot special character ( . ) .<\/li><li>Hostnames can contain a combination of all above rules but must start and end with a letter or a number , and letters are case-insensitive.<\/li><li>It must contain between 2 and 63 characters long.<\/li><li><p>The hostnames should be descriptive (to ease identifying the computer purpose, location, geographical area, etc on the network).<\/p><\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7ce3748 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7ce3748\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-099c312\" data-id=\"099c312\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-165a40c elementor-widget elementor-widget-heading\" data-id=\"165a40c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to Change Server Hostname<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ebd691e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ebd691e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4cd3996\" data-id=\"4cd3996\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-73b477a elementor-widget elementor-widget-text-editor\" data-id=\"73b477a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>First you have to Login to your server using root privileges and edit the file \/etc\/sysconfig\/network by running the following command.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-cc528c9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cc528c9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4ddabc7\" data-id=\"4ddabc7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8876341 elementor-widget elementor-widget-code-highlight\" data-id=\"8876341\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>vi \/etc\/sysconfig\/network<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f8f41ce elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f8f41ce\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a02a6f3\" data-id=\"a02a6f3\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-171a809 elementor-widget elementor-widget-text-editor\" data-id=\"171a809\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Then you have to change HOSTNAME= value to your FQDN hostname for example:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b1e4be0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b1e4be0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-11485f6\" data-id=\"11485f6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9f4d8e7 elementor-widget elementor-widget-code-highlight\" data-id=\"9f4d8e7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>HOSTNAME=yourserver.mydomain.com<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0d61716 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0d61716\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-80c21f3\" data-id=\"80c21f3\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2d76d14 elementor-widget elementor-widget-text-editor\" data-id=\"2d76d14\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Now you need to change the Hostname in the file hosts ,that file used for internal network mapping IPs by running the command<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fa2898b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fa2898b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-18b72d5\" data-id=\"18b72d5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f9c3443 elementor-widget elementor-widget-code-highlight\" data-id=\"f9c3443\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>vi \/etc\/hosts<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7a5b36d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7a5b36d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0356fcb\" data-id=\"0356fcb\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3876d48 elementor-widget elementor-widget-text-editor\" data-id=\"3876d48\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The new values of the content file should be:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b3ae9c0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b3ae9c0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-48f47ce\" data-id=\"48f47ce\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d23d385 elementor-widget elementor-widget-code-highlight\" data-id=\"d23d385\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>127.0.0.1 localhost localhost.localdomain\r\n93.184.216.34 yourserver.mydomain.com       yourserver<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-68d90d4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"68d90d4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-12f4079\" data-id=\"12f4079\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2c5d00a elementor-widget elementor-widget-text-editor\" data-id=\"2c5d00a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Execute the hostname command, where it can change the hostname on the server that the command line remembers, <strong>but it does not actively update all programs that are running under the old hostname.<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-51e1b4d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"51e1b4d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8a0c49e\" data-id=\"8a0c49e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-74708f5 elementor-widget elementor-widget-code-highlight\" data-id=\"74708f5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>hostname yourserver.mydomain.com\r\nhostname\r\nyourserver.mydomain.com<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-db1fc9b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"db1fc9b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-549a92e\" data-id=\"549a92e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3fdd416 elementor-widget elementor-widget-text-editor\" data-id=\"3fdd416\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>now you have to restart the network on your server to check that changes will continue on restart.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2a6ba68 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2a6ba68\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2496886\" data-id=\"2496886\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4f28b88 elementor-widget elementor-widget-code-highlight\" data-id=\"4f28b88\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>\/etc\/init.d\/network restart<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9ff5f24 elementor-widget elementor-widget-elementor-faq-schema\" data-id=\"9ff5f24\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"elementor-faq-schema.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t                                    <script type=\"application\/ld+json\">\n                    {\n                        \"@context\": \"https:\/\/schema.org\",\n                        \"@type\": \"FAQPage\",\n                        \"mainEntity\": [\n                         {\n                            \"@type\": \"Question\",\n                            \"name\": \"How Do I Change Centos Hostname Server?\",\n                            \"acceptedAnswer\": {\n                                \"@type\": \"Answer\",\n                                \"text\": \"&lt;ul&gt;&lt;li&gt;First you have to Login to your server using root privileges and edit the file \/etc\/sysconfig\/network by running the following command:\u00a0 vi \/etc\/sysconfig\/network&lt;\/li&gt;&lt;li&gt;Then you have to change hostname= value to your FQDN hostname for example: hostname=yourserver.mydomain.com&lt;\/li&gt;&lt;li&gt;Now you need to change the Hostname in the file hosts ,that file used for internal network mapping IPs by running the command: vi \/etc\/hosts&lt;\/li&gt;&lt;\/ul&gt;&lt;section class=&quot;elementor-section elementor-top-section elementor-element elementor-element-7a5b36d elementor-section-boxed elementor-section-height-default elementor-section-height-default&quot; data-id=&quot;7a5b36d&quot; data-element_type=&quot;section&quot;&gt;&lt;div class=&quot;elementor-container elementor-column-gap-default&quot;&gt;&lt;div class=&quot;elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0356fcb&quot; data-id=&quot;0356fcb&quot; data-element_type=&quot;column&quot;&gt;&lt;div class=&quot;elementor-widget-wrap elementor-element-populated&quot;&gt;&lt;div class=&quot;elementor-element elementor-element-3876d48 elementor-widget elementor-widget-text-editor&quot; data-id=&quot;3876d48&quot; data-element_type=&quot;widget&quot; data-widget_type=&quot;text-editor.default&quot;&gt;&lt;div class=&quot;elementor-widget-container&quot;&gt;&lt;ul&gt;&lt;li&gt;The new values of the content file should be: 127.0.0.1 localhost localhost.localdomain&lt;br \/&gt;93.184.216.34 yourserver.mydomain.com yourserver&lt;\/li&gt;&lt;li&gt;Execute the hostname command, where it can change the hostname on the server that the command line remembers, but it does not actively update all programs that are running under the old hostname. hostname yourserver.mydomain.com&lt;br \/&gt;hostname&lt;br \/&gt;yourserver.mydomain.com&lt;\/li&gt;&lt;li&gt;&lt;section class=&quot;elementor-section elementor-top-section elementor-element elementor-element-db1fc9b elementor-section-boxed elementor-section-height-default elementor-section-height-default&quot; data-id=&quot;db1fc9b&quot; data-element_type=&quot;section&quot;&gt;&lt;div class=&quot;elementor-container elementor-column-gap-default&quot;&gt;&lt;div class=&quot;elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-549a92e&quot; data-id=&quot;549a92e&quot; data-element_type=&quot;column&quot;&gt;&lt;div class=&quot;elementor-widget-wrap elementor-element-populated&quot;&gt;&lt;div class=&quot;elementor-element elementor-element-3fdd416 elementor-widget elementor-widget-text-editor&quot; data-id=&quot;3fdd416&quot; data-element_type=&quot;widget&quot; data-widget_type=&quot;text-editor.default&quot;&gt;&lt;div class=&quot;elementor-widget-container&quot;&gt;&lt;p&gt;now you have to restart the network on your server to check that changes will continue on restart. \/etc\/init.d\/network restart&lt;\/p&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/section&gt;&lt;section class=&quot;elementor-section elementor-top-section elementor-element elementor-element-2a6ba68 elementor-section-boxed elementor-section-height-default elementor-section-height-default&quot; data-id=&quot;2a6ba68&quot; data-element_type=&quot;section&quot;&gt;&lt;div class=&quot;elementor-container elementor-column-gap-default&quot;&gt;&lt;div class=&quot;elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2496886&quot; data-id=&quot;2496886&quot; data-element_type=&quot;column&quot;&gt;&lt;div class=&quot;elementor-widget-wrap elementor-element-populated&quot;&gt;&lt;div class=&quot;elementor-element elementor-element-4f28b88 elementor-widget elementor-widget-code-highlight&quot; data-id=&quot;4f28b88&quot; data-element_type=&quot;widget&quot; data-widget_type=&quot;code-highlight.default&quot;&gt;&lt;div class=&quot;elementor-widget-container&quot;&gt;\u00a0&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/section&gt;&lt;\/li&gt;&lt;\/ul&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/section&gt;&lt;section class=&quot;elementor-section elementor-top-section elementor-element elementor-element-b3ae9c0 elementor-section-boxed elementor-section-height-default elementor-section-height-default&quot; data-id=&quot;b3ae9c0&quot; data-element_type=&quot;section&quot;&gt;&lt;div class=&quot;elementor-container elementor-column-gap-default&quot;&gt;&lt;div class=&quot;elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-48f47ce&quot; data-id=&quot;48f47ce&quot; data-element_type=&quot;column&quot;&gt;&lt;div class=&quot;elementor-widget-wrap elementor-element-populated&quot;&gt;&lt;div class=&quot;elementor-element elementor-element-d23d385 elementor-widget elementor-widget-code-highlight&quot; data-id=&quot;d23d385&quot; data-element_type=&quot;widget&quot; data-widget_type=&quot;code-highlight.default&quot;&gt;&lt;div class=&quot;elementor-widget-container&quot;&gt;\u00a0&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/section&gt;&lt;section class=&quot;elementor-section elementor-top-section elementor-element elementor-element-f8f41ce elementor-section-boxed elementor-section-height-default elementor-section-height-default&quot; data-id=&quot;f8f41ce&quot; data-element_type=&quot;section&quot;&gt;&lt;div class=&quot;elementor-container elementor-column-gap-default&quot;&gt;&lt;div class=&quot;elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a02a6f3&quot; data-id=&quot;a02a6f3&quot; data-element_type=&quot;column&quot;&gt;\u00a0&lt;\/div&gt;&lt;\/div&gt;&lt;\/section&gt;&lt;section class=&quot;elementor-section elementor-top-section elementor-element elementor-element-b1e4be0 elementor-section-boxed elementor-section-height-default elementor-section-height-default&quot; data-id=&quot;b1e4be0&quot; data-element_type=&quot;section&quot;&gt;&lt;div class=&quot;elementor-container elementor-column-gap-default&quot;&gt;&lt;div class=&quot;elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-11485f6&quot; data-id=&quot;11485f6&quot; data-element_type=&quot;column&quot;&gt;&lt;div class=&quot;elementor-widget-wrap elementor-element-populated&quot;&gt;&lt;div class=&quot;elementor-element elementor-element-9f4d8e7 elementor-widget elementor-widget-code-highlight&quot; data-id=&quot;9f4d8e7&quot; data-element_type=&quot;widget&quot; data-widget_type=&quot;code-highlight.default&quot;&gt;&lt;div class=&quot;elementor-widget-container&quot;&gt;\u00a0&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/section&gt;\"\n                            }\n                                                    }\n                    ]\n                    }\n                <\/script>\n                    \t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>This article shows us how to change the server hostname. What is the Server Hostname? Every server&nbsp; starts with the server\u2019s given name as the hostname. It is necessary to&nbsp; set the FQDN host name for your server because when the server host some softwares, like cPanel, this process requires a valid Fully Qualified Domain [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":2040,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[250],"tags":[124,269,122,280,278,284],"class_list":["post-292","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-centos","tag-dedicated-server","tag-linux","tag-linux-administrators","tag-linux-command","tag-vps-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to change Centos Hostname Server And Set FQDN For Your Server<\/title>\n<meta name=\"description\" content=\"change Centos Hostname server: First you have to Login to your server using root privileges and edit the file \/etc\/sysconfig\/network\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to change Centos Hostname Server And Set FQDN For Your Server\" \/>\n<meta property=\"og:description\" content=\"change Centos Hostname server: First you have to Login to your server using root privileges and edit the file \/etc\/sysconfig\/network\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/\" \/>\n<meta property=\"og:site_name\" content=\"STS Host and Tech Knowledge base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/stshostandtech\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-25T17:36:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-04T19:41:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png\" \/>\n\t<meta property=\"og:image:width\" content=\"311\" \/>\n\t<meta property=\"og:image:height\" content=\"162\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Host&amp;Tech Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to change Centos Hostname Server And Set FQDN For Your Server\" \/>\n<meta name=\"twitter:description\" content=\"change Centos Hostname server: First you have to Login to your server using root privileges and edit the file \/etc\/sysconfig\/network\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png\" \/>\n<meta name=\"twitter:creator\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:site\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Host&amp;Tech Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/\"},\"author\":{\"name\":\"Host&amp;Tech Support\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/person\/e047ccece500c5187cf74bddd8596e83\"},\"headline\":\"How to change Centos Hostname Server\",\"datePublished\":\"2021-03-25T17:36:57+00:00\",\"dateModified\":\"2021-11-04T19:41:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/\"},\"wordCount\":301,\"publisher\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png\",\"keywords\":[\"CentOS\",\"Dedicated Server\",\"Linux\",\"Linux Administrators\",\"Linux Command\",\"VPS Server\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/\",\"url\":\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/\",\"name\":\"How to change Centos Hostname Server And Set FQDN For Your Server\",\"isPartOf\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png\",\"datePublished\":\"2021-03-25T17:36:57+00:00\",\"dateModified\":\"2021-11-04T19:41:31+00:00\",\"description\":\"change Centos Hostname server: First you have to Login to your server using root privileges and edit the file \/etc\/sysconfig\/network\",\"breadcrumb\":{\"@id\":\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#primaryimage\",\"url\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png\",\"contentUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png\",\"width\":311,\"height\":162,\"caption\":\"Change Server Hostname\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hostandtech.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to change Centos Hostname Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hostandtech.com\/help\/#website\",\"url\":\"https:\/\/hostandtech.com\/help\/\",\"name\":\"STS Host and Tech Knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hostandtech.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\",\"name\":\"STS Host and Tech Inc\",\"url\":\"https:\/\/hostandtech.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png\",\"contentUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png\",\"width\":630,\"height\":270,\"caption\":\"STS Host and Tech Inc\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/stshostandtech\",\"https:\/\/x.com\/stshostandtech\",\"https:\/\/www.instagram.com\/stshostandtech\",\"https:\/\/www.youtube.com\/channel\/UCqJOPwWE0ILTeIScaND7enw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/person\/e047ccece500c5187cf74bddd8596e83\",\"name\":\"Host&amp;Tech Support\",\"sameAs\":[\"https:\/\/hostandtech.com\/help\"],\"url\":\"https:\/\/hostandtech.com\/help\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to change Centos Hostname Server And Set FQDN For Your Server","description":"change Centos Hostname server: First you have to Login to your server using root privileges and edit the file \/etc\/sysconfig\/network","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:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/","og_locale":"en_US","og_type":"article","og_title":"How to change Centos Hostname Server And Set FQDN For Your Server","og_description":"change Centos Hostname server: First you have to Login to your server using root privileges and edit the file \/etc\/sysconfig\/network","og_url":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/","og_site_name":"STS Host and Tech Knowledge base","article_publisher":"https:\/\/www.facebook.com\/stshostandtech","article_published_time":"2021-03-25T17:36:57+00:00","article_modified_time":"2021-11-04T19:41:31+00:00","og_image":[{"width":311,"height":162,"url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png","type":"image\/png"}],"author":"Host&amp;Tech Support","twitter_card":"summary_large_image","twitter_title":"How to change Centos Hostname Server And Set FQDN For Your Server","twitter_description":"change Centos Hostname server: First you have to Login to your server using root privileges and edit the file \/etc\/sysconfig\/network","twitter_image":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png","twitter_creator":"@stshostandtech","twitter_site":"@stshostandtech","twitter_misc":{"Written by":"Host&amp;Tech Support","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#article","isPartOf":{"@id":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/"},"author":{"name":"Host&amp;Tech Support","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/person\/e047ccece500c5187cf74bddd8596e83"},"headline":"How to change Centos Hostname Server","datePublished":"2021-03-25T17:36:57+00:00","dateModified":"2021-11-04T19:41:31+00:00","mainEntityOfPage":{"@id":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/"},"wordCount":301,"publisher":{"@id":"https:\/\/hostandtech.com\/help\/#organization"},"image":{"@id":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png","keywords":["CentOS","Dedicated Server","Linux","Linux Administrators","Linux Command","VPS Server"],"articleSection":["Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/","url":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/","name":"How to change Centos Hostname Server And Set FQDN For Your Server","isPartOf":{"@id":"https:\/\/hostandtech.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#primaryimage"},"image":{"@id":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png","datePublished":"2021-03-25T17:36:57+00:00","dateModified":"2021-11-04T19:41:31+00:00","description":"change Centos Hostname server: First you have to Login to your server using root privileges and edit the file \/etc\/sysconfig\/network","breadcrumb":{"@id":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#primaryimage","url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png","contentUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/centos-Hostname-server.png","width":311,"height":162,"caption":"Change Server Hostname"},{"@type":"BreadcrumbList","@id":"https:\/\/hostandtech.com\/help\/linux\/how-to-change-centos-hostname-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostandtech.com\/help\/"},{"@type":"ListItem","position":2,"name":"How to change Centos Hostname Server"}]},{"@type":"WebSite","@id":"https:\/\/hostandtech.com\/help\/#website","url":"https:\/\/hostandtech.com\/help\/","name":"STS Host and Tech Knowledge base","description":"","publisher":{"@id":"https:\/\/hostandtech.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostandtech.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostandtech.com\/help\/#organization","name":"STS Host and Tech Inc","url":"https:\/\/hostandtech.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png","contentUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png","width":630,"height":270,"caption":"STS Host and Tech Inc"},"image":{"@id":"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/stshostandtech","https:\/\/x.com\/stshostandtech","https:\/\/www.instagram.com\/stshostandtech","https:\/\/www.youtube.com\/channel\/UCqJOPwWE0ILTeIScaND7enw"]},{"@type":"Person","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/person\/e047ccece500c5187cf74bddd8596e83","name":"Host&amp;Tech Support","sameAs":["https:\/\/hostandtech.com\/help"],"url":"https:\/\/hostandtech.com\/help\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/comments?post=292"}],"version-history":[{"count":87,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/292\/revisions"}],"predecessor-version":[{"id":11392,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/292\/revisions\/11392"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/media\/2040"}],"wp:attachment":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/media?parent=292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/categories?post=292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/tags?post=292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}