How to change your hostname in Fedora 33

Very simple to do this from command line which is what we’re going to do today.

  1. Login to your server
  2. Make sure you’re the root user
sudo su -

3. Run the following command (make sure to change yourservername to whatever you want it to be):

hostnamectl set-hostname yourservername

And that’s it! Really simple stuff!

Have an amazing Builditlinux day!

Leave a Reply