View Single Post
Old 24th June 2013, 18:39
jaypabs jaypabs is offline
Join Date: Jun 2013
Posts: 69
Thanks: 0
Thanked 1 Time in 1 Post
Default I need your help badly - ERROR 502 - Bad Gateway!

I manually change the /etc/passwd because the location of the files was scramble.

After editing it, all of my sites are still functioning.

One of my site is linking to the wrong directory. like
/var/www/ is pointing to /var/www/clients/client1/web2/

when it should be:
/var/www/ is pointing to /var/www/clients/client1/web3/

So I deleted the manually under /var/www and create a link again to point the to /var/www/clients/client1/web3/.

But after doing this, all of my sites cannot be access and it is throwing an error:

ERROR 502 - Bad Gateway!
The following error occurred:

This server received an invalid response from an upstream server it accessed to fulfill the request.

If you get this message repeatedly please contact the webmaster.
Is anyone how can I restore my site back?

I need your help badly. This is urgent as my sites are all down..

Thank you in advance.
Reply With Quote
Sponsored Links