Set hostname in CentOS 7

Set hostname in CentOS 7

Hostname is a sub domain. To set hosting, edit file Add Example Now run Example Run Edit file Edit or

Set Permanant hostname on AWS EC2 CentOS 7 server

Set Permanant hostname on AWS EC2 CentOS 7 server

On AWS EC2 when you boot, hostname set something like ip-172-31-41-172.eu-central-1.compute.internal To chaneg this, run Example To disable change of