detect true 404 from false

when server is not deployed successfully