It is now possible to define the hostname from the admin page. This should definetely end the problem that the hostname couldn't be detected unter certain conditions.
Merge pull request #1219 from annando/1411-hostname

It is now possible to define the hostname from the admin page.