Ändra hostname Ubuntu 20.04

Published

För att ändra FQDN hostname på Ubuntu 20.04 kör följande kommando:

sudo hostnamectl set-hostname host.example.com

Ändra host.example.com till din servers FQDN

För att kontrollera efteråt kör:

hostname --fqdn

By Håkan Dahlström

Hi! I am Håkan. I am the author of this website. I work with IT and photography is my hobby. I also like to travel and cooking. Living in Malmö, Sweden.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.