How do I set/change my server’s Fully Qualified Domain Name (FQDN) on Ubuntu 20.04 LTS “Focal Fossa” Linux?

An FQDN is an acronym for a fully qualified domain name. Also known as an absolute domain name. For example, server1.cyberciti.biz is FQDN. It is part of DNS (Domain name System). This page explains how to view, set/change FQDN on an Ubuntu Linux 20.04 LTS server or desktop system.

Viewing hostname including FQDN

The hostname command and hostnamectl command shows the Ubuntu system’s fully qualified host name including FQDN. Open the terminal application and then type:

$ hostname

nixcraft-wks01.sweet.home

$ hostnamectl status

#ubuntu 20.04 #fqdn #linux

How to set/change FQDN on Ubuntu 20.04 Linux
36.50 GEEK