504 Gateway error after launching new AWS instance

Is your domain pointing to multiple ip adresses? I’ve just looked at your DNS propagation and there are two IP numbers in there. Maybe that’s the conflict?