Use the FQDN to setup the HOSTNAME and VHOST files.

The HOSTNAME environment var only contains the first part of the domain
name. Use the fqdn to have it entirely.
Set the hostname of the ci receiver correctly.