Suspend domain/subdomain by admin

Dmitry Sidorov

Verified User
Joined
Feb 6, 2012
Messages
8
Hello.

It would be great to suspend domain and subdomain by admin. If we need to suspend only one domain of some account we need to suspend it on user level, but user can login and unsuspend it. So we must suspend all account, but its wrong because other sites are ok and problem only in one site.

I think it woul be great to have option to suspend only one domain or subdomain on admin level, the user could nod unsuspend it.
 
Hello,

Here is a bypass, and in this case this is what we do:

1. Login as Admin into Directadmin
2. Go to Custom HTTPD Configurations
3. Select a domain you want
4. Add into textarea:

Code:
|?DOCROOT=/home/admin/domains/suspended/|

5. Click "Save"

Wait for a minute or so and you'll suspended page instead of a site. Note, FTP/SMTP/POP/IMAP will still be working for the domain.


p.s. If it's not what you want, then wait for John's answer.
 
I'm for this too, one of my clients has 16 domains, so I agree with the OP, if we offer muli-domains, we should be able to suspend each one when we see the need to.
 
Have you tested to see if the user can unsuspend if the suspension was made by changing the user-level httpd.conf file?

Another method would be to move the domain to a different user set up for the purpose. If you do, be sure to keep good notes so you still know who owns the domain.

Jeff
 
Another method would be to move the domain to a different user set up for the purpose. If you do, be sure to keep good notes so you still know who owns the domain.

Jeff

Its not a good way for shared hosting servers. I offer this way:

When user suspends his domain, DirectAdmin creates folder /home/user/suspended and makes it like DocumentRoot for domain. User have permission to unsuspend it.

If admin suspends the user's domain, DirectAdmin changes DocumentRoot to /home/admin/suspended or /home/reseller/suspended (if reseller suspends), and user cant unsuspend domain but receive alert "Domain was suspended by admin. Contact support team".

I don't think it's hard to do :)
 
If admin suspends the user's domain, DirectAdmin changes DocumentRoot to /home/admin/suspended or /home/reseller/suspended (if reseller suspends), and user cant unsuspend domain but receive alert "Domain was suspended by admin. Contact support team".
Ok, how do you suspend individual domains via admin? I'm finding it hard to find. This is what you mean, right? I can only find 'suspend account'.
 
@Peter Laws,

That is just a possible way how he wants it to be done.

@Dmitry Sidorov,

Note, if John does not accept this feature request, you might want to contact me privately to discuss a possibility of writing a plugin as a commerce service or even for free.
 
Back
Top