nsikawanjala said:
:yahoo: I have been wondering how to fix this error since when i try to open my website it gives me bad gateway error.
That can happen for a lot of reasons. The biggest one is due to problems on having a poor host service for example. What is your current host provider?
Did you try to contact it in order to see why it happens to your website or is a problem from there servers... sometimes they can have some maitenance or problems and can have that effect on the websites they are hosting. If you can try to email or message them for more information.
Also another thing, if you use wordpress for example, sometimes due to a higher number of requests caused by a problematic plugin or theme, it can overload the server and since it has a limited number of requests, it is possible the system shut out your site in order to keep the rest of the service intact and safe while you take care of the issue.