use server name in the configuration before trying to guess it, fixes problems in some reverse proxy setups