Skip to main content

How to suspend Addon Domain?

Comments

5 comments

  • cPanelMichael
    Hello @Elizabeta, It's not possible to suspend an individual addon domain name. You'd need to delete the addon domain name from the cPanel account to disable it after reducing the number of allowed addon domain names on the package associated with the account. I encourage you to open a feature request if you'd like to see an option to suspend individual addon domains:
    0
  • Elizabeta
    Hello Michael, Thank you very much for your answer. Is it possible to delete individual addon domain from WHM or via command line? Is there any instruction for this? Best regards, Elizabeta
    0
  • cPanelMichael
    Is it possible to delete individual addon domain from WHM or via command line? Is there any instruction for this?

    Hi @Elizabeta, Yes, you can use the following cPanel API 2 function to delete an addon domain via the command line: cPanel API 2 Functions - AddonDomain::deladdondomain - Developer Documentation - cPanel Documentation EX: cpapi2 --user=username AddonDomain deladdondomain domain=addondomain.com subdomain=addondomain_example.com
    Thank you.
    0
  • Elizabeta
    Hello Michael, Thank you very much for your explanation. I have succesufully removed AddOn domain via the command line. Best regards, Elizabeta
    0
  • cPanelMichael
    Hello Elizabeta, You're very welcome. I've marked this thread as solved. Thanks!
    0

Please sign in to leave a comment.