Error 502: what is it and how to fix it?

Commonly you went over an error message indicating “Bad Gateway Error 502” on your internet browser while surfing the web. Also, right…