Fix redirect to server name.