Ändra hostname Ubuntu 20.04

Estimated reading time: < 1 minute

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.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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

Copy link
Powered by Social Snap