Fixed hostname resolving for the server