Quantcast
Channel: nixCraft
Viewing all articles
Browse latest Browse all 74

How to Set or Change Hostname in Amazon Linux EC2 InstancenixCraft

$
0
0
See all Amazon AWS web services related articles/faq

I am a new Amazon Linux 2 EC2 instance user. My EC2 name was set to 'ip-172-26-7-134' during instance creation. But now, I would like to change the EC2 hostname to 'stats1'. Can you tell me how do I remove ip-172-26-7-134 and set it to stats1 on Amazon Linux 2? How do I change the Amazon Linux Lightsail or EC2 cloud server instance?

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to Set or Change Hostname in Amazon Linux EC2 Instance appeared first on nixCraft.


Viewing all articles
Browse latest Browse all 74

Trending Articles