friendica/friendica — pull request #1219 by annando (2014-11-07 23:10:16+00:00)
Title: It is now possible to define the hostname from the admin page. 

This should definitely end the problem that the hostname couldn't be detected under certain conditions.