made it so that the server name is set based on hostname, so URLs are constructed properly in the list, fixes #3