{"id":66,"date":"2017-10-10T06:24:00","date_gmt":"2017-10-10T06:24:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/how-to-change-system-name-in-fedora-19"},"modified":"2017-10-10T07:36:03","modified_gmt":"2017-10-10T07:36:03","slug":"change-system-name-in-fedora","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora","title":{"rendered":"How to Change the hostname in Fedora Linux"},"content":{"rendered":"<p>Procedure to Change the\u00a0System\u00a0Name in Fedora Linux 20, 21, 22, 23, 24, 25, 26 in Command line and Host File<u><b><br \/>\n<\/b><\/u><\/p>\n<p>&nbsp;<\/p>\n<h3><b><u>Change host name in Command line<br \/>\n<\/u><\/b><\/h3>\n<p>To print the present host name<\/p>\n<p><b>#hostname<\/b><br \/>\n<span style=\"color: #808080;\"> oldhostname.domain.com<\/span><\/p>\n<p><b>#hostname newhostname.domain.com<\/b><\/p>\n<p>This command will change the Host Name to newhostname.domain.com<\/p>\n<p><b>#hostname <\/b><br \/>\nnewhostname.domain.com<\/p>\n<p><b><u>Edit the host name file<\/u><\/b><\/p>\n<p><strong>#vim \/etc\/hostname<\/strong><br \/>\n<span style=\"color: #808080;\"> newhostname.domain.com<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Procedure to Change the\u00a0System\u00a0Name in Fedora Linux 20, 21, 22, 23, 24, 25, 26 in Command line and Host File &nbsp; Change host name in Command line To print the&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[109],"tags":[],"class_list":["post-66","post","type-post","status-publish","format-standard","hentry","category-fedora"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"Procedure to Change the System Name in Fedora Linux 20, 21, 22, 23, 24, 25, 26 in Command line and Host File Change host name in Command line To print the present host name #hostname oldhostname.domain.com #hostname newhostname.domain.com This command will change the Host Name to newhostname.domain.com #hostname newhostname.domain.com Edit the host name file #vim \/etc\/hostname\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"admin\"\/>\n\t<meta name=\"msvalidate.01\" content=\"F5B964E0B63F681BBDE95AB72193D75E\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora#article\",\"name\":\"How to Change the hostname in Fedora Linux - Linux How To\",\"headline\":\"How to Change the hostname in Fedora Linux\",\"author\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/author\\\/admin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2021\\\/06\\\/MelB.png\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#articleImage\",\"width\":320,\"height\":320},\"datePublished\":\"2017-10-10T06:24:00+00:00\",\"dateModified\":\"2017-10-10T07:36:03+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora#webpage\"},\"articleSection\":\"FEDORA\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/category\\\/fedora#listItem\",\"name\":\"FEDORA\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/category\\\/fedora#listItem\",\"position\":2,\"name\":\"FEDORA\",\"item\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/category\\\/fedora\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora#listItem\",\"name\":\"How to Change the hostname in Fedora Linux\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora#listItem\",\"position\":3,\"name\":\"How to Change the hostname in Fedora Linux\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/category\\\/fedora#listItem\",\"name\":\"FEDORA\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#organization\",\"name\":\"Linux How To\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2021\\\/06\\\/MelB.png\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora\\\/#organizationLogo\",\"width\":320,\"height\":320},\"image\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/author\\\/admin#author\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/author\\\/admin\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1ee7acbcab1a0ae6b35481c34cd31ee5c4d15292f5a1e069321cd34f1ceccd11?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora#webpage\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora\",\"name\":\"How to Change the hostname in Fedora Linux - Linux How To\",\"description\":\"Procedure to Change the System Name in Fedora Linux 20, 21, 22, 23, 24, 25, 26 in Command line and Host File Change host name in Command line To print the present host name #hostname oldhostname.domain.com #hostname newhostname.domain.com This command will change the Host Name to newhostname.domain.com #hostname newhostname.domain.com Edit the host name file #vim \\\/etc\\\/hostname\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/fedora\\\/change-system-name-in-fedora#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/author\\\/admin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/author\\\/admin#author\"},\"datePublished\":\"2017-10-10T06:24:00+00:00\",\"dateModified\":\"2017-10-10T07:36:03+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#website\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/\",\"name\":\"Linux How To\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Change the hostname in Fedora Linux - Linux How To","description":"Procedure to Change the System Name in Fedora Linux 20, 21, 22, 23, 24, 25, 26 in Command line and Host File Change host name in Command line To print the present host name #hostname oldhostname.domain.com #hostname newhostname.domain.com This command will change the Host Name to newhostname.domain.com #hostname newhostname.domain.com Edit the host name file #vim \/etc\/hostname","canonical_url":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"msvalidate.01":"F5B964E0B63F681BBDE95AB72193D75E","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora#article","name":"How to Change the hostname in Fedora Linux - Linux How To","headline":"How to Change the hostname in Fedora Linux","author":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/author\/admin#author"},"publisher":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.melberi.com\/linuxadmin\/wp-content\/uploads\/sites\/3\/2021\/06\/MelB.png","@id":"https:\/\/www.melberi.com\/linuxadmin\/#articleImage","width":320,"height":320},"datePublished":"2017-10-10T06:24:00+00:00","dateModified":"2017-10-10T07:36:03+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora#webpage"},"isPartOf":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora#webpage"},"articleSection":"FEDORA"},{"@type":"BreadcrumbList","@id":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/#listItem","position":1,"name":"Home","item":"https:\/\/www.melberi.com\/linuxadmin\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/category\/fedora#listItem","name":"FEDORA"}},{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/category\/fedora#listItem","position":2,"name":"FEDORA","item":"https:\/\/www.melberi.com\/linuxadmin\/category\/fedora","nextItem":{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora#listItem","name":"How to Change the hostname in Fedora Linux"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora#listItem","position":3,"name":"How to Change the hostname in Fedora Linux","previousItem":{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/category\/fedora#listItem","name":"FEDORA"}}]},{"@type":"Organization","@id":"https:\/\/www.melberi.com\/linuxadmin\/#organization","name":"Linux How To","url":"https:\/\/www.melberi.com\/linuxadmin\/","logo":{"@type":"ImageObject","url":"https:\/\/www.melberi.com\/linuxadmin\/wp-content\/uploads\/sites\/3\/2021\/06\/MelB.png","@id":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora\/#organizationLogo","width":320,"height":320},"image":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.melberi.com\/linuxadmin\/author\/admin#author","url":"https:\/\/www.melberi.com\/linuxadmin\/author\/admin","name":"admin","image":{"@type":"ImageObject","@id":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/1ee7acbcab1a0ae6b35481c34cd31ee5c4d15292f5a1e069321cd34f1ceccd11?s=96&d=mm&r=g","width":96,"height":96,"caption":"admin"}},{"@type":"WebPage","@id":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora#webpage","url":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora","name":"How to Change the hostname in Fedora Linux - Linux How To","description":"Procedure to Change the System Name in Fedora Linux 20, 21, 22, 23, 24, 25, 26 in Command line and Host File Change host name in Command line To print the present host name #hostname oldhostname.domain.com #hostname newhostname.domain.com This command will change the Host Name to newhostname.domain.com #hostname newhostname.domain.com Edit the host name file #vim \/etc\/hostname","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/#website"},"breadcrumb":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/fedora\/change-system-name-in-fedora#breadcrumblist"},"author":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/author\/admin#author"},"creator":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/author\/admin#author"},"datePublished":"2017-10-10T06:24:00+00:00","dateModified":"2017-10-10T07:36:03+00:00"},{"@type":"WebSite","@id":"https:\/\/www.melberi.com\/linuxadmin\/#website","url":"https:\/\/www.melberi.com\/linuxadmin\/","name":"Linux How To","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/#organization"}}]}},"aioseo_meta_data":{"post_id":"66","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-03-11 17:23:30","updated":"2026-10-21 18:06:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/66","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=66"}],"version-history":[{"count":4,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/66\/revisions"}],"predecessor-version":[{"id":648,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/66\/revisions\/648"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}