How to fix “SSL is not enabled for this domain” message on DirectAdmin

As a DirectAdmin user, you can disable SSL functionality for the site, but you can't enable it again. You must contact your host/log into the server with root credentials. If you disabled the SSL functionality in Account Manager >> SSL…

Continue ReadingHow to fix “SSL is not enabled for this domain” message on DirectAdmin

How to block DirectAdmin commands

In DirectAdmin you can block commands server-wide or only for specific user(s). The commands that can be blocked can be found at: https://www.directadmin.com/api.html https://www.directadmin.com/search_versions.php?help=no&versions=yes&query=CMD_API_https://www.directadmin.com/search_versions.php?help=no&versions=yes&query=CMD_ A. Block DirectAdmin commands globally To block commands for all the users on the server, you…

Continue ReadingHow to block DirectAdmin commands

How to create DirectAdmin backups from the command line

To create DirectAdmin backups from the command line for ALL the accounts on the server, execute the command: echo "action=backup&append%5Fto%5Fpath=nothing&database%5Fdata%5Faware=yes&email%5Fdata%5Faware=yes&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&type=admin&value=multiple&when=now&where=local&who=all" >> /usr/local/directadmin/data/task.queue To create a backup for a specific user - USERNAME - run the command: echo "action=backup&append%5Fto%5Fpath=nothing&database%5Fdata%5Faware=yes&email%5Fdata%5Faware=yes&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&select%30=USERNAME&type=admin&value=multiple&when=now&where=local" >> /usr/local/directadmin/data/task.queue…

Continue ReadingHow to create DirectAdmin backups from the command line