Hello there, everyone. Lisha from the help desk here. Some people inquire as to how to get rid of 502 bad gateway. An unresolved domain name might be the source of the problem.This occurs when a domain name fails to resolve to the right IP address. Keep in mind that if you have just transferred your domain name to another host, it may take up to 24 hours for your DNS changes to be completely propagated and activated.