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.

How suspend addon/subdomain from whm or ssh?

Discussion in 'General Discussion' started by Cute_me, Jul 23, 2015.

  1. Cute_me

    Cute_me Member

    Joined:
    Mar 13, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I want to suspend only addon domain ?Please guide me from whm and ssh as well?

    Waiting for positive response?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    That's not possible, you can only suspend an account.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Yes, as InfoPro mentioned, you can only suspend the full cPanel account. You could setup a .htaccess file in the document root of the addon domain blocking all access (though you would also have to delete their FTP account so they couldn't remove it). EX:

    Code:
    order deny,allow
    deny from all
    allow from 12.34.56.78
    This would block all access attempts to the directory, except for any IP address you choose to whitelist.

    Thank you.
     
  4. Cute_me

    Cute_me Member

    Joined:
    Mar 13, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page