diff --git a/services/viso.libre-service.eu.md b/services/viso.libre-service.eu.md index 17180f1..be1e64d 100644 --- a/services/viso.libre-service.eu.md +++ b/services/viso.libre-service.eu.md @@ -30,4 +30,22 @@ systemctl reload apache2.service TODO -## TODO \ No newline at end of file +## Hostname +Généraliser le FQDN : +``` +hostnamectl set-hostname visio.libre-service.eu +``` + +Modifier le fichier `/etc/hosts` : +``` +- 127.0.1.1 visio.libre-service.eu visio ++ 127.0.1.1 visio ++ 145.239.49.4 visio.libre-service.eu +``` + +Tester : +``` +ping "$(hostname)" +PING visio.libre-service.eu (145.239.49.4) 56(84) bytes of data. +64 bytes from visio.libre-service.eu (145.239.49.4): icmp_seq=1 ttl=64 time=0.034 ms +```