The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Website still works after suspension

Discussion in 'General Discussion' started by jndawson, Feb 24, 2016.

  1. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    103
    Likes Received:
    4
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    We have a cPanel server that is not actually suspending the account's web site when manually suspended using whm > account functions > manage suspensions.

    I read through What Happens When You Suspend an Account - cPanel Knowledge Base - cPanel Documentation and confirmed all actions were taken:

    1. /var/cpanel/users/user includes
    Code:
    SUSPENDED=1
    SUSPENDTIME=1456346984
    2. /usr/local/apache/conf/includes/account_suspensions.conf includes
    Code:
    <Directory "/home/user">
      AllowOverride none
      RedirectMatch ^/(?!cgi-sys/suspendedpage.cgi).* /cgi-sys/suspendedpage.cgi
    </Directory>
    /usr/local/cpanel/cgi-sys/suspendedpage.cgi exists.

    No error messages in /usr/local/cpanel/logs/error_log. Indication in /usr/local/cpanel/logs/access_log is that everything executed correctly.

    Also restarted Apache after suspending. No affect.

    Where else do we need to look to figure out why the account is still delivering web pages?

    (side note: we redirected the web site to 127.0.0.1 until this gets figured out.)
    (additional side note: this is a server we took over about a year ago and we continually find weird conf files that should never have happened - didn't find anything obvious this time.)
     
    #1 jndawson, Feb 24, 2016
    Last edited: Feb 24, 2016
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    319
    Likes Received:
    23
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    Have you checked the account is pointing to your server IP ?
    Please check ping report for the account.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please verify if the domain name resolves to this cPanel server (IntoDNS is a helpful website). Also, are the proper entries added to the account's .htaccess file?

    Thank you.
     
  4. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    103
    Likes Received:
    4
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Yes, DNS is/was setup to point to the subject server.

    The customer finally paid their bill, so we unsuspended the account and cleared the redirect to 127.0.0.1, which brings us back to why the suspension process doesn't work.

    We tested using another account and had the same results as noted above. The .htaccess file was not touched.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you verify the version of cPanel installed on this system? EX:

    Code:
    cat /usr/local/cpanel/version
    Thank you.
     
Loading...

Share This Page