using server_name instead of http_host