1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

502 gateway error

Discussion in 'Web Hosting' started by Standartuye, Jun 26, 2016.

  1. Standartuye

    Standartuye Registered Member

    Joined:
    Jun 26, 2013
    Messages:
    84
    Likes Received:
    5
    Hi everybody

    I have 512 mb ram droplet on digitalocean and have a website running on it

    it has very small traffic but my server always crashes down and gets 502 gateway error

    what can i do to protect my website from getting hit?

    btw i have Wordfence plugin installed

    [​IMG]
     
  2. cloaking

    cloaking Registered Member

    Joined:
    Aug 21, 2015
    Messages:
    94
    Likes Received:
    31
    Your error logs might shed some more light.

    Here's possible locations depending on your server configuration:

    • /var/log/apache2/error.log
    • /var/log/nginx/error.log
     
  3. CenTex Hosting

    CenTex Hosting Jr. VIP Jr. VIP

    Joined:
    Nov 8, 2009
    Messages:
    1,898
    Likes Received:
    719
    Gender:
    Male
    Occupation:
    Founder/CEO
    Location:
    Austin, TX
    Home Page:
    have you talked to digitalocean yet. I am sure they can help you track down what is causing your server to crash and give you some ideas on what you can do.
     
  4. Go4vps

    Go4vps Junior Member

    Joined:
    Mar 19, 2015
    Messages:
    123
    Likes Received:
    8
    Occupation:
    Server administrator professional
    Location:
    Inside the server
    Home Page:
    Just contact your host and report this issue. I suppose your site is using some CMS and it's seems to bee either Brute force or some kind of attack in the site which might causing this. Just try to check access log of the site and see if you find the lot of acces from since IP address.
     
  5. CyberHour

    CyberHour Jr. VIP Jr. VIP

    Joined:
    Apr 3, 2016
    Messages:
    645
    Likes Received:
    160
    Location:
    localhost
    Home Page:
    Those are normal reports on CMS websites, there are thousands of bots scanning websites to gain access on wp-admin or /admin.

    What we can suggest you is to block access to /wp-admin /admin folder .

    Here you will find more info

    http://www.htaccesstools.com/articles/password-protection/

    BR,
    CyberHour