---
title: "Discussion on \"How to change Hostname in linux Server ?\" | Hashnode"
description: "Discussion on \"How to change Hostname in linux Server ?\". Open the terminal:Log in to your Linux server either directly or through SSH\n\nCheck EC2 Instance Machine Details:\nhostnamectl\n\nCheck the Current Hostname: You can check the current hostname using the hostname command\nhostname\n\nMethod - 1: Change the ..."
url: "https://hashnode.com/posts/how-to-change-hostname-in-linux-server/652fe944c53e809c9de9d887"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to change Hostname in linux Server ?](https://aravyadav.hashnode.dev/how-to-change-hostname-in-linux-server?utm_source=hashnode&utm_medium=feed)

Open the terminal:Log in to your Linux server either directly or through SSH Check EC2 Instance Machine Details: hostnamectl Check the Current Hostname: You can check the current hostname using the hostname command hostname Method - 1: Change the ...

Oct 18, 2023 · 1 min read · aravyadav.hashnode.dev  
Read the article

## Written by

[Arav Yadav](https://hashnode.com/@Aravyadav19)

@Aravyadav19

  
[View profile](https://hashnode.com/@Aravyadav19)

lets upgrade yourself

An enthusiastic and determined AWS Cloud learner looking for positions in the IT industry with the goal of enhancing career to secure a challenging position in a reputable organization to expand my learnings, knowledge, and skills AWS, Linux, Python

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
