# Which Linux distro for production server?

**URL:** <https://meta.discourse.org/t/which-linux-distro-for-production-server/31059>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [15.Июль.2015 00:13:07 UTC](https://meta.discourse.org/t/which-linux-distro-for-production-server/31059 "2015-07-15T00:13:07Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [15.Июль.2015 15:43:39 UTC](https://meta.discourse.org/t/which-linux-distro-for-production-server/31059/8 "2015-07-15T15:43:39Z")

</div>

Looks to me like `hostnamectl` updates `/etc/hostname` and sends a D-Bus signal. `hostnamectl --static` should equal `hostname`. According to the manpage, `hostname -f` == `hostname --fqdn` == `dnshostname`.

```
   The FQDN (Fully Qualified Domain Name) of the system is the name that the resolver(3)
   returns for the host name, such as, ursula.example.com. It is usually the hostname
   followed by the DNS domain name (the part after the first dot). You can check the
   FQDN using hostname --fqdn or the domain name using dnsdomainname.

   The recommended method of setting the FQDN is to make the hostname be an alias for
   the fully qualified name using /etc/hosts, DNS, or NIS. For example, if the hostname
   was "ursula", one might have a line in /etc/hosts which reads

          127.0.1.1 ursula.example.com ursula

```

I guess you want to put a record like that in /etc/hosts?

---

_[View the full topic](https://meta.discourse.org/t/which-linux-distro-for-production-server/31059)._
