Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    198
    Likes Received:
    20
    Trophy Points:
    18
    Location:
    Western US
    cPanel Access Level:
    DataCenter Provider
    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:
    604
    Likes Received:
    42
    Trophy Points:
    28
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jndawson

    jndawson Well-Known Member

    Joined:
    Aug 27, 2014
    Messages:
    198
    Likes Received:
    20
    Trophy Points:
    18
    Location:
    Western US
    cPanel Access Level:
    DataCenter Provider
    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:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice