Use socket.fqdn to get full host name for URL.