...
- to set FQDN - where host is accessible via my-computer.my-domain.ext
add this line at the beginning of /etc/hosts: "127.0.1.1 my-computer.my-domain.ext my-computer "
- to verify if host is set properly
hostname -f
(have look at https://greenmang0.wordpress.com/2009/02/25/how-to-set-fqdn-fully-qualified-domain-name-on-debian-system/)
Configuration of java for tomcat
...