View Single Post
  #1  
Old 24th June 2013, 17:39
jaypabs jaypabs is offline
Member
 
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/mydomain.com is pointing to /var/www/clients/client1/web2/

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

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

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

Quote:
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